# cpplint/cpplint

Linter for C++ based on Google's style guide

Repository: https://github.com/cpplint/cpplint
Canonical: https://ross.abutalabs.com/products/cpplint
Language: Python
License: NOASSERTION
License Family: other
Topics: cpp, linter, lint, maintainer-wanted
Last push: 2026-08-14T09:19:12+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 16, longevity 100
- inputs: {"age_days": 3929, "days_push": 19, "days_rel": 513, "gap_med": 91.0, "n_releases_24m": 3}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1846, forks 312 (observed 2026-08-28T04:05:43.463482+00:00)

## What it is
Cpplint is a command-line static code checker that checks C/C++ files for style issues according to Google's C++ style guide. It is a community-maintained fork of Google's original cpplint, updated for modern C++ and Python 3.

## Use cases
- lint C++ code against Google's style guide
- enforce consistent C++ style in CI pipelines
- run a C++ style checker as a pre-commit hook
- check C++ files for style violations from the command line
- integrate Google style linting into MegaLinter

## When to choose
- your team follows or approximates Google's C++ style guide
- you want a lightweight, pip-installable C++ style checker
- you need pre-commit or CI integration for C++ style enforcement

## When to avoid
- you need a full static analysis tool for bugs, not just style (use clang-tidy)
- you follow a different C++ style guide with substantially different rules
- you need highly configurable custom lint rules

## Facets
- artifact type: cli-tool
- maturity: active
- function: linter, cli, developer-tools
- domain: developer-tools, programming-languages
- platform: cli, python, cross-platform
- tags: cpp, google-style-guide, static-analysis, pre-commit, code-style, command-line

## Member repositories
- cpplint/cpplint (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:43.463482+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:17:52.569329+00:00, confidence not recorded.
  - readme: https://github.com/cpplint/cpplint (fetched 2026-08-28T04:05:43.463482+00:00, sha 801b0b563b10)
  - registry_pypi: https://pypi.org/pypi/cpplint/json (fetched 2026-08-29T10:56:56.297344+00:00, sha 7f3fe0125ef8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
