remark-lint-definition-sort

JSON →
library 1.0.1 ·javascript
verified May 1, 2026

A remark-lint rule that warns when markdown definitions (including footnote definitions) are not sorted alphabetically. Version 1.0.1 is current, released as part of the remark-lint monorepo. It requires remark-lint and unified, and is ESM-only since Node 16+. Unlike general linters, it enforces a consistent order for 'definition' nodes (e.g., [label]: url), helping maintain readability in long lists. Definitions and footnotes are sorted separately, and 'groups' separated by non-definition content are sorted independently.

total hits 14
actors 4 distinct systems
last hit 4d ago AhrefsBot
GPTBot
5
MetaBot
3
ClaudeBot
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇲🇽 Mexico · VN