Skip to content
@cpp-linter

cpp-linter

Lint your C/C++ code in workflow
cpp-linter brand logo

Lint and format your C/C++ code in every workflow — GitHub Actions, pre-commit hooks, and CLI.

Docs GitHub Action pre-commit CLI License


📖 About

The cpp-linter organization delivers clang-format, clang-tidy, and other LLVM tools as ready-to-use packages across GitHub Actions, pre-commit hooks, CLI, Docker, and more — no building from source.


🧭 Which one should I use?

Your goal Start here One-liner
CI/CD linting cpp-linter-action Add to .github/workflows/
Pre-commit linting cpp-linter-hooks Add to .pre-commit-config.yaml
Cross-platform CLI clang-tools-pip pip install clang-tools
macOS native homebrew-tap brew tap cpp-linter/tap && brew install clang-tools
Version management asdf-clang-tools asdf plugin add clang-format ...
Docker images clang-tools-docker docker pull ...
Static binaries clang-tools-static-binaries Download from releases

📖 Browse every repository on the organization page →


👥 Maintainers

shenxianpeng
shenxianpeng
2bndy5
2bndy5

🤝 Contributing

We welcome contributions of all kinds — bug reports, feature requests, documentation improvements, and code.


Made with ❤️ by the cpp-linter community

Pinned Loading

  1. cpp-linter-action cpp-linter-action Public

    A Github Action for linting C/C++ code integrating clang-tidy and clang-format to collect feedback provided in the form of file-annotations, thread-comments, workflow step-summary, and Pull Request…

    143 24

  2. cpp-linter-hooks cpp-linter-hooks Public

    C/C++ pre-commit hooks powered by clang-format and clang-tidy

    Python 45 5

  3. cpp-linter cpp-linter Public

    cpp-linter core Python executable package

    Python 34 12

  4. clang-tools-pip clang-tools-pip Public

    Install clang-format, clang-tidy, clang-query, clang-apply-replacements and clang-include-cleaner binaries with clang-tools CLI.

    Python 10 1

  5. clang-tools-static-binaries clang-tools-static-binaries Public

    static-linked versions of clang tools for Linux, Mac OS X and Windows

    Python 18 4

  6. clang-tools-docker clang-tools-docker Public

    🐳 Clang Tools Docker image includes the clang-format and clang-tidy.

    HCL 15 1

Repositories

Showing 10 of 16 repositories

Top languages

Loading…

Most used topics

Loading…