remark-lint rule (v4.0.1, latest) that warns when list item content has inconsistent indentation. It checks the first child of each list item and flags subsequent children that do not align with it. This is part of the remark-lint ecosystem, ESM-only, ships TypeScript types. Key differentiator: it catches mixed indentation in multi-line list items, helping maintain consistent Markdown formatting. Compatible with Node.js 16+ and modern browsers via esm.sh.
npm install remark-lint-list-item-content-indentNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the rule programmatically with unified: parse Markdown, lint for list item content indent issues, stringify back, and report messages.
Use import or dynamic import(). For CommonJS projects, use a bundler or stay on v3.
Update import to match new export name: import remarkLintListItemContentIndent from 'remark-lint-list-item-content-indent'
If you need different behavior, consider a custom rule or disabling this rule and using another method.
npm install remark-lint-list-item-content-indent
Use import instead, or set type:"module" in package.json
Use default import: import remarkLintListItemContentIndent from 'remark-lint-list-item-content-indent'