antfu/case-police
🚨 Make the case correct, PLEASE! observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 77
- Release rhythm 67
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 49
- age_days: 1616
- days_rel: 141
- days_push: 141
- n_releases_24m: 8
Adoption not part of the score
1428 stars · 90 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
CasePolice is a CLI tool and ESLint plugin that checks and fixes the casing of well-known product and technology names (e.g., GitHub, TypeScript, macOS) in source files. It ships with a built-in dictionary, supports custom dictionaries and presets, and can run in CI to fail on incorrect casing.
Use cases
- fix incorrect casing of product names like Github to GitHub across a repo
- lint docs and source files for wrong brand name casing
- enforce correct name casing in CI pipelines
- check only markdown files for casing mistakes
- use a custom dictionary of project-specific names
- add casing rules to an ESLint flat config
When to choose
- you want automated, dictionary-driven correction of well-known name casing in text files
- you need a lightweight CI check for casing errors
- you already use ESLint and want casing rules integrated
When to avoid
- you need general-purpose spell checking or grammar linting
- you want to enforce casing of arbitrary identifiers in code rather than known names
- you need a full style guide enforcement tool like Vale
Facets
cli-tool · maturity active
cli linter formatter developer-tools developer-tools text-editors documentation cli cross-platform eslint-plugin casing typography code-style npm command-line nodejs
2 sources
- readme: https://github.com/antfu/case-police · fetched 2026-08-28 · 722a7a5fd306
- registry_npm: https://registry.npmjs.org/case-police · fetched 2026-08-29 · 200aac5ad152
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| antfu/case-police | main | 78 |
For agents
markdown · JSON · MCP: product_card(name="antfu/case-police")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem