{"library":"remark-lint-rule-style","title":"remark-lint-rule-style","description":"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`.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-rule-style"],"cli":null},"imports":["import remarkLintRuleStyle from 'remark-lint-rule-style'","import type { Options } from 'remark-lint-rule-style'","unified().use(remarkLintRuleStyle, { style: '---' })"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { unified } from 'unified'\nimport remarkParse from 'remark-parse'\nimport remarkStringify from 'remark-stringify'\nimport remarkLint from 'remark-lint'\nimport remarkLintRuleStyle from 'remark-lint-rule-style'\nimport { reporter } from 'vfile-reporter'\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintRuleStyle, { style: '---' })\n  .use(remarkStringify)\n  .process('***\\n\\n---')\n\nconsole.error(reporter(file))","lang":"typescript","description":"Lint a markdown string and report warnings for inconsistent horizontal rule styles.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}