cpp-linter

Crates.iocpp-linter
lib.rscpp-linter
version2.0.0-rc12
created_at2024-09-19 11:54:34.434938+00
updated_at2024-12-12 20:48:58.413689+00
descriptionRun clang-format and clang-tidy on a batch of files.
homepagehttps://cpp-linter.github.io/cpp-linter-rs
repositoryhttps://github.com/cpp-linter/cpp-linter-rs
max_upload_size
id1380189
size570,852
Brendan (2bndy5)

documentation

README

cpp-linter

This crate contains the the library used as a backend for the cpp-linter binary executable. The main focus of cpp-linter is as follows:

  • Lint C/C++ sources using clang-format and clang-tidy.
  • Respect file changes when run in a CI workflow on Github.
  • Provide feedback via Github's REST API in the any of the following forms:
    • step summary
    • thread comments
    • file annotation
    • pull request review suggestions

Since the cpp-linter python package now uses this library as a binding, the native binary's main() behavior is also present in this library (see run::run_main()).

See also the CLI document hosted on github.

Commit count: 127

cargo fmt