Best Linters in 2026
Facts read from the makers 29 Sept 2026 – 15 Oct 2026
JSHint leads this list of 33 (Club score 8.5, free plan). Cppcheck is next (Club score 8.1, free plan), and Ruff is the next highest-placed with a free plan (Club score 8.0). Linters check code and configuration for errors, style problems, and risky patterns. Compare languages, autofix, custom and security rules, IDE and CI support, platforms, and cost.
Linters: the Club's top 10
| Product | What it does | Club score | Start | Runs on | Facts checked |
|---|---|---|---|---|---|
| 1 JSHint | JSHint is a free, open-source, community-driven static analysis tool for JavaScript. | 8.5 | Free plan | Windows · macOS · Linux · Web | 15 Oct 2026 |
| 2 Cppcheck | Cppcheck is a static analysis tool for C and C++ code that identifies bugs, undefined behavior, and dangerous coding constructs. | 8.1 | Free plan | Windows · macOS · Linux · Self-hosted | 15 Oct 2026 |
| 3 Ruff | Ruff is a free Python linter and code formatter written in Rust. | 8.0 | Free plan | Windows · macOS · Linux · Web | 29 Sept 2026 |
| 4 Flake8 | — | 7.9 | Free plan | Windows · macOS · Linux · API | 15 Oct 2026 |
| 5 SwiftLint | SwiftLint is a free, open-source tool that checks Swift code against style and convention rules generally accepted by the Swift community. | 7.9 | Free plan | Windows · macOS · Linux | 10 Oct 2026 |
| 6 PMD | PMD is a free static code analyzer that checks source code for programming flaws, including unused variables, empty catch blocks, and unnecessary object creation. | 7.9 | Free plan | Windows · macOS · Linux · Self-hosted | 2 Oct 2026 |
| 7 Hadolint | Hadolint is a free Dockerfile linter that checks files for errors and best practices. | 7.7 | Free plan | Windows · macOS · Linux · Web | 8 Oct 2026 |
| 8 ShellCheck | ShellCheck is a free static analysis tool that gives warnings and suggestions for Bash and sh scripts. | 7.7 | Free plan | Windows · macOS · Linux · Web | 7 Oct 2026 |
| 9 actionlint | actionlint is a static checker for GitHub Actions workflow files. | 7.6 | Free plan | Windows · macOS · Linux · Web | 11 Oct 2026 |
| 10 Biome | Biome is a free toolchain for maintaining the health of web projects. | 7.6 | Free plan | Windows · macOS · Linux · Web | 29 Sept 2026 |
Use the table to check free plans, paid starting points, and the workflow fit for your project. Platform coverage ranges from desktop systems to web, API, and self-hosted use.
Ranked by the Club score: how fast a newcomer can get going, from what each maker publishes.
- 1 8.5 Club score
JSHint
JSHint is a free, open-source, community-driven static analysis tool for JavaScript.
- Free plan
- Open source
- Windows · macOS · Linux · Web
- 2
8.1 Club scoreCppcheck
Cppcheck is a static analysis tool for C and C++ code that identifies bugs, undefined behavior, and dangerous coding constructs.
- Free plan
- Open source
- Windows · macOS · Linux · Self-hosted
- 3
8.0 Club scoreRuff
Ruff is a free Python linter and code formatter written in Rust.
- Free plan
- Windows · macOS · Linux · Web
- 4 7.9 Club score
Flake8
- Free plan
- Open source
- Windows · macOS · Linux · API
- 5 7.9 Club score
SwiftLint
SwiftLint is a free, open-source tool that checks Swift code against style and convention rules generally accepted by the Swift community.
- Free plan
- Windows · macOS · Linux
- 6 7.9 Club score
PMD
PMD is a free static code analyzer that checks source code for programming flaws, including unused variables, empty catch blocks, and unnecessary object creation.
- Free plan
- Windows · macOS · Linux · Self-hosted
- 7 7.7 Club score
Hadolint
Hadolint is a free Dockerfile linter that checks files for errors and best practices.
- Free plan
- Windows · macOS · Linux · Web
- 8
7.7 Club scoreShellCheck
ShellCheck is a free static analysis tool that gives warnings and suggestions for Bash and sh scripts.
- Free plan
- Windows · macOS · Linux · Web
- 9 7.6 Club score
actionlint
actionlint is a static checker for GitHub Actions workflow files.
- Free plan
- Windows · macOS · Linux · Web
- 10
7.6 Club scoreBiome
Biome is a free toolchain for maintaining the health of web projects.
- Free plan
- Windows · macOS · Linux · Web
- 11 7.6 Club score
Clippy
- Free plan
- Windows · macOS · Linux
- 12
7.5 Club scoreAstral
Astral builds developer tools for Python, including Ruff, a linter, and uv, a package and project manager.
- Free plan
- Windows · macOS · Linux
- 13 7.5 Club score
Luacheck
Luacheck is a free, open-source static analyzer and linter for Lua code.
- Free plan
- Windows · macOS · Linux · Self-hosted
- 14 7.5 Club score
PHPMD
PHPMD analyzes PHP source code to flag possible bugs, inefficient patterns, overly complex expressions, and unused parameters, methods, or properties.
- Free plan
- Windows · macOS · Linux · Self-hosted
- 15
7.5 Club scoreSQLFluff
SQLFluff is a free, open source SQL linter designed with ELT applications in mind.
- Free plan
- Windows · macOS · Linux · API
- 16 7.4 Club score
cpplint
cpplint is a free, open-source command-line checker for C and C++ files, using Google’s C++ style guide as its reference.
- Free plan
- Windows · macOS · Linux
- 17
7.4 Club scoreStylelint
- Free plan
- Windows · macOS · Linux · API
- 18
7.4 Club scoregolangci-lint
golangci-lint is a free runner for Go linters that runs them in parallel, uses caching, accepts YAML configuration, and includes over a hundred linters.
- Free plan
- Windows · macOS · Linux · Self-hosted
- 19 7.3 Club score
Oxc
Oxc is a free collection of JavaScript development tools written in Rust, available for Linux, macOS, and Windows.
- Free plan
- Windows · macOS · Linux
- 20 7.2 Club score
Checkstyle
Checkstyle is a free tool for analyzing Java source code against configurable coding rules.
- Free plan
- Windows · macOS · Linux
- 21
7.2 Club scoredetekt
detekt is a static code analyzer for Kotlin that helps developers identify code smells.
- Free plan
- Windows · macOS · Linux
- 22 7.2 Club score
HLint
HLint is a free tool that suggests possible improvements to Haskell source code.
- Free plan
- Windows · macOS · Linux
- 23 7.2 Club score
pycodestyle
pycodestyle is a free Python checker for selected style conventions in PEP 8.
- Free plan
- Windows · macOS · Linux
- 24 7.2 Club score
Staticcheck
Staticcheck is a free Go linter that uses static analysis to find bugs and performance issues, suggest simpler code, and check style.
- Free plan
- Windows · macOS · Linux
- 25 7.2 Club score
Which language does it check?
Start with the language your project uses. Flake8 and Ruff target Python, ESLint and JSHint target JavaScript, and PMD spans Java, JavaScript, Apex, Kotlin, Swift, and other formats.
Go teams can compare Staticcheck, golangci-lint, and revive. Ruby users can look at RuboCop or Reek, while HLint serves Haskell and Luacheck serves Lua.
Can I use it for free?
Free plans are common in this category. Cppcheck lists a free plan and 21-day trial; Bio-style pricing is not relevant here, so check the linter's own plan terms.
A free trial is different from a free plan. Review paid starting prices when a project may need hosted features, support, or expanded workflow limits.
Does it autofix code?
Autofix can reduce repetitive edits, but support differs by rule. Ruff, ESLint, clang-tidy, RuboCop, Stylelint, SQLFluff, and PHP_CodeSniffer document automatic fixes.
RuboCop separates safe and potentially behavior-changing corrections. HLint applies some refactoring suggestions with the apply-refact executable available on PATH.
Will it fit my editor and CI setup?
Check platform and integration details before adopting a tool. Golangci-lint lists GoLand, Visual Studio Code, Emacs, Vim, LSP, and Sublime Text integrations.
For CI, machine-readable output matters. Golangci-lint supports JSON, Checkstyle, JUnit-XML, SARIF, and other formats, while actionlint validates GitHub Actions workflows directly.
Can I change its rules?
Custom rules help align checks with team standards. PMD supports Java or XPath rules, ESLint loads pluggable rules, and SwiftLint stores settings in .swiftlint.yml.
Other tools use configuration files, comments, or command-line options. Check whether the linter can enable, disable, suppress, or assign severity to findings.
Questions about Linters
What does a linter check?
A linter checks source or configuration for syntax errors, style issues, code smells, and possible bugs. Results usually identify a file, line, and description.
Which linters support autofix?
Ruff, ESLint, clang-tidy, RuboCop, Stylelint, SQLFluff, and PHP_CodeSniffer document automatic fixes for supported findings or violations.
Are these linters free?
The listed products include free-plan choices. Cppcheck lists a 21-day trial, while several projects are open source and run locally.
Can I run a linter in CI?
Yes. Command-line tools can run in CI, and golangci-lint documents GitHub, GitLab, and Buildkite integrations with several report formats.
How do I choose a linter for my language?
Match the tool to your language, then compare autofix, custom rules, security checks, editor support, CI output, platform, and pricing details.