Skip to content
@cpp-linter

cpp-linter

Lint your C/C++ code in workflow
cpp-linter: C/C++ pull requests that arrive already checked.

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

Pick where the checks run

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

The clang tools also come as static binaries for Linux, macOS and Windows, a Homebrew tap for macOS, an asdf plugin and Docker images.

Maintained by two volunteers, @shenxianpeng and @2bndy5. Sponsorship goes to the project through Open Collective, where all income and expenses are public.

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…

    147 24

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

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

    Python 50 10

  3. cpp-linter cpp-linter Public

    cpp-linter core Python executable package

    Python 35 13

  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 11 1

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

    Static binaries of clang-format, clang-tidy and other LLVM tools, so you can use them without building LLVM.

    Python 22 5

  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…