- How you use it
- A setting in your project
- What it can do
- installs software · writes files · network · runs shell
- What's inside
The option
| Option | AConfig · v0.24.2markdownlint-cli2 0.24.2 (command-line tool) |
|---|---|
| How you use it | A setting in your project |
| What it can do | installs software · writes files · network · runs shell |
| What's inside |
What this thread does
Do first: npm install --save-exact markdownlint-cli2@0.24.2 in a clean project. Package and runtime details; documented package-manager path.
What it does
markdownlint-cli2 uses the markdownlint library to lint Markdown and CommonMark files. README.
When to use it
Use it for configuration-based Markdown linting. The README also describes working alongside vscode-markdownlint. README.
When not to use it
TOML is supported for base configuration, but not for per-directory overrides. README.
Install and check
Needs Node.js 22 or later and npm. Runtime requirement. Version 0.24.2, licensed under MIT. Registry; package metadata.
Install the pinned package locally:
npm install --save-exact markdownlint-cli2@0.24.2
The package name and package-manager route are documented in the README; the exact version comes from the registry.
Run these checks:
grep -q '"version": "0.24.2"' node_modules/markdownlint-cli2/package.json
test -x node_modules/.bin/markdownlint-cli2
Exit 0 confirms package version 0.24.2 in the installed manifest. Exit 0 confirms the installed markdownlint-cli2 executable exists.
Sources
Project attribution: DavidAnson. Pinned README; package metadata; registry.
Sources checked 2026-11-30.
Started from a post by @DavidAnson, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.