Scripts2026年4月8日·1 分钟阅读

Markdownlint — Lint Markdown for AI Content Quality

Node.js markdown linter with 50+ rules. Ensure consistent formatting in CLAUDE.md, .cursorrules, README files, and AI-generated documentation across your project.

What is Markdownlint?

A Node.js Markdown linter with 50+ rules to ensure consistent formatting. Great for CLAUDE.md, .cursorrules, README, and similar files.

In one sentence: Node.js Markdown linter with 50+ rules ensuring consistent formatting for CLAUDE.md, .cursorrules, and documentation — 5k+ GitHub stars.

For: Developers maintaining Markdown AI tool configurations.

Core Features

1. 50+ Rules

Heading hierarchy, trailing whitespace, line length, duplicate headings, and more.

2. VS Code Integration

Real-time checks with quick fixes.

3. CI/CD Integration

One-click GitHub Actions configuration.

4. Auto-Fix

Use --fix to automatically fix common issues.

FAQ

Q: Does it support MDX? A: Partially — JSX may trigger false positives; disable rules as needed.

Q: Is there a pre-commit hook? A: Yes — use with husky or lefthook.

🙏

来源与感谢

DavidAnson/markdownlint — 5k+ stars, MIT

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产