markdownlint-cli2
Fast, flexible CLI for linting Markdown files with configuration support.
Linting and formatting npm MIT
Used in agent projects
73
0.6% of 12,697 public repos built with AI coding agents
Rank in linting and formatting
#13 of 40
by use in those projects
Downloads
1.7M
npm, last 7 days, markdownlint-cli2
GitHub stars
942
last push Oct 9, 2026
How markdownlint-cli2 is used
markdownlint-cli2 is a dependency in 73 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.6%), #13 of 40 in linting and formatting. The most used alternative there is ESLint. Projects that use it most often also use jsdom (46.6%), Prettier (52.1%), Pillow (34.2%).
Often used with markdownlint-cli2
| jsdom | 46.6% of markdownlint-cli2 projects · 8.7× more than average |
|---|---|
| Prettier | 52.1% of markdownlint-cli2 projects · 3.0× more than average |
| Pillow | 34.2% of markdownlint-cli2 projects · 14.9× more than average |
| Lefthook | 32.9% of markdownlint-cli2 projects · 32.6× more than average |
| markdown-link-check | 32.9% of markdownlint-cli2 projects · 167.0× more than average |
| npm-run-all2 | 31.5% of markdownlint-cli2 projects · 70.2× more than average |
| Matplotlib | 31.5% of markdownlint-cli2 projects · 20.6× more than average |
| fast-xml-parser | 30.1% of markdownlint-cli2 projects · 66.0× more than average |
By coding agent
| GitHub Copilot | 1.9% of projects set up for it |
|---|---|
| Claude Code | 1.0% of projects set up for it |
| Cursor | 0.5% of projects set up for it |
| OpenAI Codex | 2.4% of projects set up for it |
| Gemini CLI | 2.3% of projects set up for it |
Share of public repos configured for each agent that list markdownlint-cli2 as a dependency.
Install
| Package | npm install markdownlint-cli2 |
|---|---|
| Main stacks | TypeScript / JavaScript (37), Python (28), Rust (3), Next.js (2) |
| Example projects | primer/react, JMBeresford/retrom, ChrisTitusTech/website, facioquo/stock-charts, TeamCoderz/WordyMe |
Alternatives to markdownlint-cli2
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| ESLint npm Linter that finds and fixes JavaScript code patterns based on AST analysis. |
4,833 (38.1%) | 162M | 27.6K | MIT |
| Prettier npm Opinionated code formatter for JavaScript, TypeScript, and related languages. |
2,218 (17.5%) | 138M | 52.4K | MIT |
| Biome npm Fast web toolchain providing linting, formatting and code quality all in one. |
445 (3.5%) | 17.7M | 25.9K | MIT OR Apache-2.0 |
| oxlint npm Fast JavaScript linter written in Rust with zero-config defaults. |
206 (1.6%) | 25.7M | 23K | MIT |
| Knip npm Find and fix unused dependencies, exports and files in TypeScript/JavaScript projects. |
150 (1.2%) | 17.5M | 12.4K | ISC |
| stylelint npm Linter that finds and fixes CSS errors and enforces code style conventions. |
140 (1.1%) | 10.8M | 11.5K | MIT |
| oxfmt npm Fast JavaScript formatter from the Oxc compiler project. |
125 (1.0%) | 16.3M | 23K | MIT |
| ESLint Import Resolver TypeScript npm ESLint plugin resolver adding TypeScript support to import/export linting. |
119 (0.9%) | 48.8M | 825 | ISC |