GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cpp-linter/cpp-linter-rs: A CLI tool that scans a batch of files with clang-tidy and/or clang-format, then provides feedback in the form of comments, annotations, summaries, and reviews.

BranchesTags
Open more actions menu

Latest commit

 

History

456 Commits
456 Commits

Folders and files

NameName
Last commit message
Last commit date
.config
.config
 
 
.github
.github
 
 
.vscode
.vscode
 
 
.yarn/releases
.yarn/releases
 
 
benchmark
benchmark
 
 
bindings
bindings
 
 
clang-tools-manager
clang-tools-manager
 
 
cpp-linter
cpp-linter
 
 
docs
docs
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.yarnrc.yml
.yarnrc.yml
 
 
AGENTS.md
AGENTS.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
codecov.yml
codecov.yml
 
 
cpp_linter.pyi
cpp_linter.pyi
 
 
cspell.config.yml
cspell.config.yml
 
 
nurfile
nurfile
 
 
package.json
package.json
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

cpp-linter-rs

v2 release candidate ci coverage part of cpp-linter

A package for linting C/C++ code with clang-tidy and/or clang-format to collect feedback provided in the form of thread comments, a step summary, file annotations and pull request review suggestions.

Website | Documentation | Get started | Discussions

Warning

This project (cpp-linter v2) is in release candidates. Please use the pure python cpp-linter package until 2.0 is released.

Quick start

This package is available in several programming languages (through their respective package managers).

Rust

Crates.io Version

Until 2.0 is released, crates.io only has release candidates, so --version is required.

Install from source code hosted at crates.io:

cargo install cpp-linter --version 2.0.0-rc.23 --features bin --locked

Install a pre-compiled binary from GitHub releases:

First install cargo-binstall.

cargo binstall cpp-linter --version 2.0.0-rc.23

Python

testPyPI - Version

Pre-releases are uploaded to test-pypi:

pip install --pre -i https://test.pypi.org/simple/ cpp-linter

Until 2.0 is released, pip install cpp-linter installs the pure python cpp-linter package from PyPI.

Node.js

NPM Version

Install the Node.js binding:

npm -g install @cpp-linter/cpp-linter@next

Usage

For usage in a CI workflow, see the cpp-linter/cpp-linter-action repository.

For the description of supported Command Line Interface options, see the CLI documentation.

Example

Annotations

Using --file-annotations:

In the pull request's changed files

clang-tidy annotation clang-tidy annotation

In the workflow run summary

annotations in the workflow run summary annotations in the workflow run summary

Thread Comment

Using --thread-comments:

sample thread-comment sample thread-comment

Step Summary

Using --step-summary:

step summary step summary

Pull Request Review

Using --pr-review:

sample pr-review sample pr-review

Sponsors

cpp-linter is maintained by two volunteers. Sponsor the project through Open Collective. Silver and Gold sponsors get their logo here.

Contributing

To provide feedback (requesting a feature or reporting a bug) please post to issues. For development setup, see CONTRIBUTING.md.

License

The scripts and documentation in this project are released under the MIT license.

As for dependencies (that are redistributed by us in binary form) and their licenses, refer to THIRD-PARTY LICENSES.

About

A CLI tool that scans a batch of files with clang-tidy and/or clang-format, then provides feedback in the form of comments, annotations, summaries, and reviews.

cpp-linter.github.io/cpp-linter-rs/

Topics

cclang-formatclang-tidycppgithub-actionsjavascriptlinterpythonrusttypescript

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

4 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.