{"library":"remark-lint-definition-spacing","title":"remark-lint-definition-spacing","description":"remark-lint rule (v4.0.1, ESM-only) from the remark-lint monorepo that warns when consecutive whitespace (more than one space or non-space whitespace) is used in a definition label. Published as part of the remark-lint ecosystem, it ensures definition label whitespace consistency. Unlike general markdown linters, this rule is specific to definition labels and is included in the remark-preset-lint-markdown-style-guide preset.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-definition-spacing"],"cli":null},"imports":["import remarkLintDefinitionSpacing from 'remark-lint-definition-spacing'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import remarkLint from 'remark-lint'\nimport remarkLintDefinitionSpacing from 'remark-lint-definition-spacing'\nimport remarkParse from 'remark-parse'\nimport remarkStringify from 'remark-stringify'\nimport {read} from 'to-vfile'\nimport {unified} from 'unified'\nimport {reporter} from 'vfile-reporter'\n\nconst file = await read('example.md')\n\nawait unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintDefinitionSpacing)\n  .use(remarkStringify)\n  .process(file)\n\nconsole.error(reporter(file))","lang":"typescript","description":"Shows how to use the rule with unified: parse markdown, apply the lint rule, stringify, and report messages.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}