{"id":18996302,"url":"https://github.com/cpp-linter/cpp-linter-rs","last_synced_at":"2026-04-02T01:20:23.586Z","repository":{"id":213647034,"uuid":"734565248","full_name":"cpp-linter/cpp-linter-rs","owner":"cpp-linter","description":"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.","archived":false,"fork":false,"pushed_at":"2026-03-26T03:05:09.000Z","size":10905,"stargazers_count":4,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-27T00:10:35.395Z","etag":null,"topics":["clang-format","clang-tidy","github-actions","python","rust"],"latest_commit_sha":null,"homepage":"https://cpp-linter.github.io/cpp-linter-rs/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cpp-linter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"2bndy5"}},"created_at":"2023-12-22T02:39:11.000Z","updated_at":"2026-03-26T03:05:11.000Z","dependencies_parsed_at":"2023-12-31T09:30:21.465Z","dependency_job_id":"d7a19ba4-5a7c-44ae-aae3-6b6f7ae5bdd6","html_url":"https://github.com/cpp-linter/cpp-linter-rs","commit_stats":null,"previous_names":["2bndy5/cpp_linter_rs","cpp-linter/cpp_linter_rs","cpp-linter/cpp-linter-rs"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/cpp-linter/cpp-linter-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-linter%2Fcpp-linter-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-linter%2Fcpp-linter-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-linter%2Fcpp-linter-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-linter%2Fcpp-linter-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpp-linter","download_url":"https://codeload.github.com/cpp-linter/cpp-linter-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-linter%2Fcpp-linter-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293767,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:05:07.454Z","status":"ssl_error","status_checked_at":"2026-04-02T00:56:46.496Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clang-format","clang-tidy","github-actions","python","rust"],"created_at":"2024-11-08T17:34:36.070Z","updated_at":"2026-04-02T01:20:23.520Z","avatar_url":"https://github.com/cpp-linter.png","language":"Rust","funding_links":["https://github.com/sponsors/2bndy5"],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable MD041 --\u003e\n\n[file-annotations]: https://cpp-linter.github.io/cpp-linter-rs/cli#-a-file-annotations\n[thread-comments]: https://cpp-linter.github.io/cpp-linter-rs/cli#-g-thread-comments\n[step-summary]: https://cpp-linter.github.io/cpp-linter-rs/cli#-w-step-summary\n[tidy-review]: https://cpp-linter.github.io/cpp-linter-rs/cli#-d-tidy-review\n[format-review]: https://cpp-linter.github.io/cpp-linter-rs/cli#-m-format-review\n[other-licenses]: https://cpp-linter.github.io/cpp-linter-rs/other-licenses\n\n[format-annotations-preview]: docs/docs/images/annotations-clang-format.png\n[tidy-annotations-preview]: docs/docs/images/annotations-clang-tidy.png\n[step-summary-preview]: docs/docs/images/step-summary.png\n[thread-comment-preview]: docs/docs/images/comment.png\n[tidy-review-preview]: docs/docs/images/tidy-review.png\n[format-review-preview]: docs/docs/images/format-review.png\n[format-suggestion-preview]: docs/docs/images/format-suggestion.png\n\n[cli-doc]: https://cpp-linter.github.io/cpp-linter-rs/cli\n\n\u003c!-- start --\u003e\n[![Python packaging][py-build-badge]][py-build-ci]\n[![Binary executable builds][bin-build-badge]][bin-build-ci]\n[![node-js builds][node-ci-badge]][node-ci]\n[![Test CI][test-ci-badge]][test-ci]\n[![Docs][docs-ci-badge]][docs-site]\n[![Pre-commit-ci][pre-commit-badge]][pre-commit-ci]\n[![codecov-status][codecov-badge]][codecov-project]\n\n[py-build-ci]: https://github.com/cpp-linter/cpp-linter-rs/actions/workflows/python-packaging.yml\n[py-build-badge]: https://github.com/cpp-linter/cpp-linter-rs/actions/workflows/python-packaging.yml/badge.svg\n[bin-build-badge]: https://github.com/cpp-linter/cpp-linter-rs/actions/workflows/binary-builds.yml/badge.svg\n[bin-build-ci]: https://github.com/cpp-linter/cpp-linter-rs/actions/workflows/binary-builds.yml\n[node-ci-badge]: https://github.com/cpp-linter/cpp-linter-rs/actions/workflows/node-js-packaging.yml/badge.svg\n[node-ci]: https://github.com/cpp-linter/cpp-linter-rs/actions/workflows/node-js-packaging.yml\n[test-ci-badge]: https://github.com/cpp-linter/cpp-linter-rs/actions/workflows/run-dev-tests.yml/badge.svg\n[test-ci]: https://github.com/cpp-linter/cpp-linter-rs/actions/workflows/run-dev-tests.yml\n[docs-ci-badge]: https://github.com/cpp-linter/cpp-linter-rs/actions/workflows/build-docs.yml/badge.svg\n[docs-site]: https://cpp-linter.github.io/cpp-linter-rs\n[pre-commit-badge]: https://github.com/cpp-linter/cpp-linter-rs/actions/workflows/pre-commit-hooks.yml/badge.svg\n[pre-commit-ci]: https://github.com/cpp-linter/cpp-linter-rs/actions/workflows/pre-commit-hooks.yml\n[codecov-badge]: https://codecov.io/gh/cpp-linter/cpp-linter-rs/graph/badge.svg?token=7ibzERx2AD\n[codecov-project]: https://codecov.io/gh/cpp-linter/cpp-linter-rs\n[docs-rs-badge]: https://img.shields.io/docsrs/cpp-linter?label=docs.rs\n[docs-rs]: https://docs.rs/cpp-linter\n[pypi-badge]: https://img.shields.io/pypi/v/cpp-linter\n[pypi-pkg]: https://pypi.org/project/cpp-linter/\n[test-pypi-badge]: https://img.shields.io/pypi/v/cpp-linter?pypiBaseUrl=https%3A%2F%2Ftest.pypi.org\u0026label=test-pypi\n[test-pypi-pkg]: https://test.pypi.org/project/cpp-linter/\n[crates-io-badge]: https://img.shields.io/crates/v/cpp-linter\n[crates-io-pkg]: https://crates.io/crates/cpp-linter\n[npm-badge]: https://img.shields.io/npm/v/%40cpp-linter%2Fcpp-linter\n[npm-pkg]: https://www.npmjs.com/package/@cpp-linter/cpp-linter\n\n# C/C++ Linting Package\n\nA package for linting C/C++ code with clang-tidy and/or clang-format to collect feedback provided in the form of\n\n- [x] [thread-comments](#thread-comment)\n- [x] [step-summary](#step-summary)\n- [x] [file-annotations](#annotations)\n- [x] [Pull Request Review](#pull-request-review) suggestions\n\n\u003e [!WARNING]\n\u003e This project is still experimental and subject to drastic changes.\n\u003e Please use the [pure python cpp-linter](https://github.com/cpp-linter/cpp-linter)\n\u003e package until this project is ready for deployment.\n\n## Install\n\nThis package is available in several programming languages (through their respective package managers).\n\n### Rust\n\n[![Crates.io Version][crates-io-badge]][crates-io-pkg]\n[![docs.rs][docs-rs-badge]][docs-rs]\n\nInstall from source code hosted at crates.io:\n\n```text\ncargo install cpp-linter\n```\n\nInstall a pre-compiled binary from GitHub releases:\n\nFirst [install `cargo-binstall`](https://github.com/cargo-bins/cargo-binstall?tab=readme-ov-file#installation).\n\n```text\ncargo binstall cpp-linter\n```\n\n### Python\n\n[![PyPI - Version][pypi-badge]][pypi-pkg]\n\nInstall the python package:\n\n```text\npip install cpp-linter\n```\n\n[![testPyPI - Version][test-pypi-badge]][test-pypi-pkg]\n\nPre-releases are uploaded to test-pypi:\n\n```text\npip install -i https://test.pypi.org/simple/ cpp-linter\n```\n\n### Node.js\n\n[![NPM Version][npm-badge]][npm-pkg]\n\nInstall the Node.js binding:\n\n```text\nnpm -g install @cpp-linter/cpp-linter\n```\n\n## Usage\n\nFor usage in a CI workflow, see\n[the cpp-linter/cpp-linter-action repository](https://github.com/cpp-linter/cpp-linter-action).\n\nFor the description of supported Command Line Interface options, see\n[the CLI documentation][cli-doc].\n\n## Example\n\n### Annotations\n\nUsing [`--file-annotations`][file-annotations]:\n\n#### clang-format annotations\n\n![clang-format annotations][format-annotations-preview]\n\n#### clang-tidy annotations\n\n![clang-tidy annotations][tidy-annotations-preview]\n\n### Thread Comment\n\nUsing [`--thread-comments`][thread-comments]:\n\n![sample thread-comment][thread-comment-preview]\n\n### Step Summary\n\nUsing [`--step-summary`][step-summary]:\n\n![step summary][step-summary-preview]\n\n### Pull Request Review\n\n#### Only clang-tidy\n\nUsing [`--tidy-review`][tidy-review]:\n\n![sample tidy-review][tidy-review-preview]\n\n#### Only clang-format\n\nUsing [`--format-review`][format-review]:\n\n![sample format-review][format-review-preview]\n\n![sample format-suggestion][format-suggestion-preview]\n\n## Have question or feedback?\n\nTo provide feedback (requesting a feature or reporting a bug) please post to\n[issues](https://github.com/cpp-linter/cpp-linter-rs/issues).\n\n## License\n\nThe scripts and documentation in this project are released under the [MIT] license.\n\nAs for dependencies (that are redistributed by us in binary form) and their licenses, refer to [THIRD-PARTY LICENSES][other-licenses].\n\n[MIT]: https://choosealicense.com/licenses/mit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpp-linter%2Fcpp-linter-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpp-linter%2Fcpp-linter-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpp-linter%2Fcpp-linter-rs/lists"}