remark-lint rule to warn when lists violate a given style regarding blank lines between list items. Current stable version 5.0.1 is ESM-only and ships TypeScript types. Part of the remark-lint collection, it enforces consistent tight/loose list formatting based on options. Differentiators: defaults to markdown-style-guide preferences, supports custom checkBlanks option. Released as part of remark-lint monorepo with frequent updates; compatible with unified ecosystem.
npm install remark-lint-list-item-spacingNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up unified pipeline with remark-lint and list-item-spacing rule, processes a markdown file and reports lint warnings.
Use import syntax or update to a bundler that supports ESM.
Ensure .use(remarkLint) is called before .use(remarkLintListItemSpacing).
Set checkBlanks: true to check blank lines based on internal blank lines instead.
Update to use object syntax: .use(remarkLintListItemSpacing, { checkBlanks: true })Run 'npm install remark-lint-list-item-spacing' or ensure it is in package.json.
Use dynamic import() or switch to ESM: 'import remarkLintListItemSpacing from "remark-lint-list-item-spacing"'
Ensure correct import: import remarkLint from 'remark-lint' (default export).