{"library":"remark-lint-no-tabs","title":"remark-lint-no-tabs","description":"Remark-lint rule to warn when hard tabs are used in Markdown instead of spaces. Current stable version is 4.0.1. It is part of the remark-lint monorepo, which is actively maintained with frequent releases. This rule is specific to Markdown, where tabs can cause unexpected rendering due to the hardcoded tab size of 4, making it distinct from general linters. It works with unified and remark-stringify, which automatically uses spaces. No options needed.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-no-tabs"],"cli":null},"imports":["import remarkLintNoTabs from 'remark-lint-no-tabs'","import remarkLint from 'remark-lint'","import { unified } from 'unified'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import remarkLint from 'remark-lint'\nimport remarkLintNoTabs from 'remark-lint-no-tabs'\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(remarkLintNoTabs)\n  .use(remarkStringify)\n  .process(file)\n\nconsole.error(reporter(file))","lang":"typescript","description":"Sets up a unified pipeline with remark, parses a Markdown file, lints for tabs, and reports any issues.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}