A remark-lint rule that warns when list items violate a given capitalization or punctuation style. Version 3.0.1 is the current stable release, part of the unified-utils monorepo with active maintenance. It picks up where the abandoned remark-lint-list-item-punctuation left off, offering full unicode support and configurable options for checking first-letter capitalization, punctuation, and paragraph spread. Requires Node.js >=20.18.0 and is ESM-only. It is used with remark-lint to enforce consistent list item styling across Markdown documents.
npm install remark-lint-list-item-styleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the plugin with remark to lint list items for punctuation, capitalization, and paragraph spread.
Upgrade Node.js to >=20.18.0.
Use import syntax instead of require(). If using CommonJS, consider dynamic import().
Use 'firstWord' as documented for this version; future versions may adopt 'capitalize'.
Use '--use lint-list-item-style' in remark-cli.
Upgrade to v3.0.1 or later to fix detection for formatted list items.
Switch to import syntax or use dynamic import: const mod = await import('remark-lint-list-item-style')In CLI, use 'lint-list-item-style'. In .remarkrc, use 'remark-lint-list-item-style' as a string or import.
Use default import: import remarkLintListItemStyle from 'remark-lint-list-item-style'