{"library":"remark-lint-directive-quote-style","title":"remark-lint-directive-quote-style","description":"remark-lint rule to enforce consistent quoting style (single or double quotes) for directive attribute values. Current version 1.0.1, part of the remark-lint monorepo with monthly releases. ESM-only, ships TypeScript types. Differentiator: provides both default export and exported helper function `inferAttributes` for use by other lint rules.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-directive-quote-style"],"cli":null},"imports":["import remarkLintDirectiveQuoteStyle from 'remark-lint-directive-quote-style'","import { inferAttributes } from 'remark-lint-directive-quote-style'","import type { Attribute } from 'remark-lint-directive-quote-style'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import remarkLint from 'remark-lint'\nimport remarkLintDirectiveQuoteStyle from 'remark-lint-directive-quote-style'\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(remarkLintDirectiveQuoteStyle, { style: 'double' })\n  .use(remarkStringify)\n  .process(file)\n\nconsole.error(reporter(file))","lang":"typescript","description":"Set up remark-lint with directive-quote-style rule to require double quotes, process a markdown file, and report lint results.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}