The best Cppcheck alternatives
The rest of Best Linters, in this site's order: each with what it costs, where it runs and its record score.
Flake8 suits Python developers who want command-line style and quality checks, configurable error selection, or plugin extensions.
Hadolint suits developers and teams maintaining Dockerfiles who want configurable lint rules, structured reports, and CI or editor integration.
PMD may suit developers and teams seeking a free code analyzer with customizable rules, command-line use, or build and CI integration.
SwiftLint suits Swift developers and teams who want configurable style checks in their editor, build, or CI workflows.
It suits Python developers looking for an open-source linter and package and project management tools across macOS, Linux, or Windows.
Oxc suits developers working with JavaScript and TypeScript who want linting, formatting, and other development tools in one toolchain.
It suits teams reviewing SQL in ELT projects, especially those working across multiple dialects or using Jinja and dbt.
Biome suits people maintaining web projects who want formatting, linting, and import organization in one toolchain.
Checkstyle suits Java programmers and teams that need configurable source-level checks to follow a coding standard.
detekt suits Kotlin developers who want configurable static analysis across supported project types.
HLint suits Haskell developers looking for suggestions about code simplification or redundancy.
golangci-lint suits Go developers who want to run multiple linters and configure their output and analysis through YAML.
It suits C++ developers who want configurable static checks, supported automatic fixes, or custom checks in their workflow.