Lint

Top 23 Lint Open-Source Projects

  • commitlint

    📓 Lint commit messages

  • Project mention: How to use Lefthooks in your node project? | dev.to | 2024-04-11

    Apart from these we also need to enforce standards for all our commit messages(commit-lint).

  • stylelint

    A mighty CSS linter that helps you avoid errors and enforce conventions.

  • Project mention: Why it is Important to Update Linters and How to Do it Right | dev.to | 2024-02-08

    Another common way to extend configs in linters is using the extends key in the configuration file. Let's take StyleLint as an example:

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • Clippy

    A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

  • Project mention: More than you've ever wanted to know about errors in Rust | news.ycombinator.com | 2023-07-23

    I couldn't find it in the API guidelines either. From what I understand, the idea is that any trait bounds, which includes generic type parameter bounds and lifetime bound on a type (struct or enum) would be repeated back in the impl block

    there is a nice discussion on this issue here: https://github.com/rust-lang/rust-clippy/issues/1689

  • eslint-plugin-react

    React-specific linting rules for ESLint

  • Project mention: Interesting Bugs Caught by ESLint's no-constant-binary-expression | news.ycombinator.com | 2023-11-08

    > [1] https://github.com/jsx-eslint/eslint-plugin-react/blob/maste...

    From what I remember, being able to pass children as a prop is considered a side-effect of an implementation detail, that breaks the expected abstraction. There really isn't any reason to use it, and I think there's a chance it may even confuse the virtual dom diffing?

    Also this would prevent you from accidentally doing both at once:

      Is it me?}>

  • reviewdog

    🐶 Automated code review tool integrated with any code analysis tools regardless of programming language

  • Project mention: Code reviews and Suggestions from SARIF report | dev.to | 2023-05-16

    I build a general converter from SARIF to Reviewdog Diagnostic Format (RDFormat), then use Reviewdog to give suggested code changes as well as the context of the changes for PR reviewing.

  • detekt

    Static code analysis for Kotlin

  • Project mention: HRV-Mart | dev.to | 2023-05-08

    In protection rules, I added build workflow in Require status checks to pass before merging. This is to ensure that before merging code in master branch, build should run successfully. I also added Jacoco Code Coverage to make sure that enough unit tests are available in project and Detekt to make sure that code in project is readable. I added them in build configuration. Even if one of them gives error, build will fail. Whenever, someone push code in pull request, build action will run and check if build is running successfully or not.

  • ktlint

    An anti-bikeshedding Kotlin linter with built-in formatter

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • knip

    ✂️ Find unused files, dependencies and exports in your JavaScript and TypeScript projects. Knip it before you ship it!

  • Project mention: Find unused files, dependencies and exports in your JavaScript and TS projects | news.ycombinator.com | 2024-02-01
  • eslint-plugin-import

    ESLint plugin with rules that help validate proper imports.

  • Project mention: Speeding up the JavaScript ecosystem – Polyfills gone rogue | news.ycombinator.com | 2023-09-21

    [2]: https://github.com/import-js/eslint-plugin-import/pull/2447#...

  • ue5-style-guide

    An attempt to make Unreal Engine 4 projects more consistent

  • Project mention: Why does the documentation say to use naming conventions like SKEL, SK, PHYS for Skeleton, Skeletal Mesh, Physics Asset, but all the start content use other abbreviations like SK, SKM and PA instead? | /r/unrealengine | 2023-12-11

    Doesn’t matter what you use, as long as it’s consistant. Epic changed their recommendations for skeletal meshes and skeletons between UE 4 and 5, hence the inconsistency. Michael Allar’s UE style guide is a common, long standing one. Personally I use whatever Epic’s current standard is, or what my team is using. It’s also fine to not prefix stuff, but it helps for consistency and searchability. It’s honestly more important to name things well, with cascading specificity: assetprefix_assettype_assetsubtype00 e.g. SM_Rock_Desert01, SM_Foliage_Bush_Dry_Small01 etc.

  • shellharden

    The corrective bash syntax highlighter

  • Project mention: Shellcheck finds bugs in your shell scripts | news.ycombinator.com | 2023-11-23

    Everytime I see Shellcheck coming up, I have to mention shellharden[0] written by a colleague of mine. It is basically shellcheck but it applies the suggested changes automatically.

    0: https://github.com/anordal/shellharden

  • markdownlint

    A Node.js style checker and lint tool for Markdown/CommonMark files.

  • Project mention: Blogging in Djot Instead of Markdown | news.ycombinator.com | 2024-02-13

    Some of Djot's features can be achieved by using markdownlint though: https://github.com/DavidAnson/markdownlint

  • coala

    coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.

  • textlint

    The pluggable natural language linter for text and markdown.

  • Project mention: GitHub Sponsors: azu the Japanese TypeScript and JavaScript developer | dev.to | 2024-04-25

    Azu created 500+ npm packages, wrote and maintains a number of popular command line tools for JavaScript. textlint has 2,751 stars, Secretlint has 698 stars. honkit for building books has 2,896 stars.

  • yamllint

    A linter for YAML files.

  • Project mention: yamllint – A Linter for YAML Files | news.ycombinator.com | 2023-09-20
  • pint

    Laravel Pint is an opinionated PHP code style fixer for minimalists.

  • Project mention: How to setup efm-langserver for pint formatter? | /r/neovim | 2023-07-13

    I've been using pint for formatting php files with null-ls.nvim. Few days ago null-ls.nvim has announced that the plugin will be archived in few months so I started migrating all my formatters and linter from null-ls to efm-langserver. I got other things such as prettier, black, isort, mypy, etc. working but can't get pint to work with php files: If I run pint via efm-langserver, everything is deleted from the buffer, and the saved file is formatted separately. How do I setup efm-langserver correctly to work with pint? Below is my config.yml for pint currently. yaml tools: pint: &pint format-command: "pint --no-interaction --quiet ${INPUT}" format-stdin: false languages: php: - <<: *pint Thank you.

  • actionlint

    :octocat: Static checker for GitHub Actions workflow files

  • Project mention: GitHub Actions could be so much better | news.ycombinator.com | 2023-09-22

    Yep, actionlint is great! I've used it successfully both to lint my own workflows, and to lint third-party workflows for (basic) security issues.

    Unfortunately, it can't lint actions themselves, only workflows that call actions[1]. This is a substantial deficiency, especially for users (like me) who write and maintain a decent number of actions.

    [1]: https://github.com/rhysd/actionlint/issues/46

  • rmlint

    Extremely fast tool to remove duplicates and other lint from your filesystem

  • Project mention: fdupes: Identify or Delete Duplicate Files | news.ycombinator.com | 2023-11-02

    My preferred solution is rmlint [https://github.com/sahib/rmlint] mostly because it also looks at duplicate directories. It produces a bash script instead of deleting anything itself, so you can examine it before running the script it made.

  • cpplint

    Static code checker for C++

  • Project mention: Configuring Cppcheck, Cpplint, and JSON Lint | dev.to | 2024-03-04

    I was configuring them as I was reading. I have done this before, but we had some months of use since then, and I have seen it working in real-time. I got a lot out of this second read and configuration round. I discovered that I over-configured Cppcheck; there is much more to get out of Cpplint, and I reviewed the JSON Schema versions.

  • safeql

    Validate and auto-generate TypeScript types from raw SQL queries in PostgreSQL.

  • Project mention: compile-time SQL validations and type generation in TypeScript &amp; Node | /r/typescript | 2023-08-27

    Cool. How does this compare to SafeQL, PgTyped, and Postgres language server ?

  • cfn_nag

    Linting tool for CloudFormation templates

  • Project mention: Setting up my own landing zone on AWS | dev.to | 2023-12-25

    .pre-commit-config.yaml – contains the cfn-lint and cfn_nag pre-commit hooks.

  • add-and-commit

    :octocat: Automatically commit changes made in your workflow run directly to your repo

  • checkmake

    experimental linter/analyzer for Makefiles

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Lint related posts

Index

What are some of the best open-source Lint projects? This list will help you:

Project Stars
1 commitlint 15,959
2 stylelint 10,821
3 Clippy 10,755
4 eslint-plugin-react 8,818
5 reviewdog 7,350
6 detekt 6,030
7 ktlint 6,002
8 knip 5,562
9 eslint-plugin-import 5,299
10 ue5-style-guide 4,876
11 shellharden 4,537
12 markdownlint 4,446
13 coala 3,515
14 textlint 2,755
15 yamllint 2,706
16 pint 2,673
17 actionlint 2,356
18 rmlint 1,776
19 cpplint 1,462
20 safeql 1,221
21 cfn_nag 1,219
22 add-and-commit 1,044
23 checkmake 993

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com