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.
npm install remark-lint-no-tabsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a unified pipeline with remark, parses a Markdown file, lints for tabs, and reports any issues.
Use import instead of require(). If using CommonJS, use dynamic import() or upgrade to Node.js 16+.
Remove any options passed to remarkLintNoTabs(). In v3+, the rule has no options.
Combine with other rules like remark-lint-no-mixed-spaces-and-tabs if needed.
Use default import: import remarkLintNoTabs from 'remark-lint-no-tabs'
Change to import statement or use dynamic import: const remarkLintNoTabs = await import('remark-lint-no-tabs')Run npm install remark-lint-no-tabs in your project directory.
Use: import remarkLintNoTabs from 'remark-lint-no-tabs'