A remark-lint rule to warn when thematic breaks (horizontal rules) are inconsistent. Current stable version is 4.0.1, part of the remark-lint ecosystem (ESM-only, Node 16+). Enforces a consistent style for horizontal rule markers and spacing. Key differentiator: detects the first used style automatically (`'consistent'` option) or allows explicit string like `'---'`. Works with remark-lint presets like `remark-preset-lint-consistent` and `remark-preset-lint-markdown-style-guide`.
npm install remark-lint-rule-styleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Lint a markdown string and report warnings for inconsistent horizontal rule styles.
Use ESM imports: import remarkLintRuleStyle from 'remark-lint-rule-style'
Upgrade Node.js to >=16
Use { style: '---' } instead of '---'Use 'consistent' directly: .use(remarkLintRuleStyle, 'consistent')
Use import type { Options } from 'remark-lint-rule-style'Switch to import statement: import remarkLintRuleStyle from 'remark-lint-rule-style'
Use default import: import remarkLintRuleStyle from 'remark-lint-rule-style'
Run: npm install remark-lint-rule-style