cpplint vs golangci-lint
cpplint
github.comgolangci-lint
golangci-lint.runSide by side
| Figure | cpplint | golangci-lint |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Linters | 7.9 (#12) | 7.8 (#17) |
| Installation | The project recommends installing the cpplint package from PyPI and documents installation as a uv tool. | The project documents binary and package manager installation on Linux, macOS, and Windows, as well as Docker installation. |
| Purpose | Cpplint is a command-line tool that checks C/C++ files for style issues according to Google’s C++ style guide. | Golangci-lint is a fast linter runner for Go that runs linters in parallel, uses caching, supports YAML configuration, and includes over a hundred linters. |
| Support | The repository identifies maintainers and provides GitHub issues, pull requests, discussions, and contribution guidance. | The project is built by volunteers and accepts support through GitHub Sponsors, Open Collective, and Thanks.dev. |
Plans
In their own words
golangci-lint
golangci-lint is a Go linter runner that executes linters in parallel, reuses caches, and accepts YAML configuration. It includes more than a hundred linters, with default settings tuned to minimize false positives. Results can be emitted in text, JSON, tab, HTML, Checkstyle, Code Climate, JUnit-XML, TeamCity, and SARIF formats. Documented editor integrations include GoLand, Visual Studio Code, GNU Emacs, Vim, the Language Server Protocol, and Sublime Text. The project recommends its GitHub Action for GitHub CI and also documents GitLab CI and Buildkite integrations. Installation options include binaries and package managers on Linux, macOS, and Windows, plus Docker. The FAQ says it supports the two latest minor Go versions, subject to the limit that the version cannot be newer than the Go version used to compile the tool. The project recommends installing a specific version in CI for reproducible builds. It recommends binary installation; several source-based methods are not guaranteed to work. The volunteer-built project is free and open source.