cpp-linter runs clang-format and clang-tidy on C and C++ code: on every pull request, before every commit and on your laptop, at the same LLVM version.
Website · Get started · Showcase · Discussions · Sponsor
| Where | Project | Start with |
|---|---|---|
| On every pull request | cpp-linter-action | uses: cpp-linter/cpp-linter-action@v2 |
| Before every commit | cpp-linter-hooks | args: [--style=file, --version=21] |
| Locally or in other CI | cpp-linter | pip install cpp-linter |
| Just the clang tools | clang-tools | pip install clang-tools |
Static binaries for LLVM 12–23 on six platforms, downloaded 540,000+ times. Also packaged for:
- PyPI: clang-include-cleaner · clang-apply-replacements · llvm-cov · clangd-bin · ccache-bin
- More: npm · Homebrew · asdf · Docker · direct download
Maintained by two volunteers, @shenxianpeng and @2bndy5. Sponsor the project on GitHub Sponsors; see the sponsor tiers.