A remark-lint external rule that warns when lines end with trailing spaces or tabs. Current stable version: 4.0.3. Released as a standalone package, it integrates with the remark-lint ecosystem for linting Markdown. Simple and focused: only checks for trailing whitespace, no configuration options. Differentiates from similar rules by being an external rule from the unified collective, maintained separately. Release cadence is irregular.
npm install remark-lint-no-trailing-spacesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the rule with remark-lint to detect trailing spaces in a Markdown document.
Upgrade Node.js to version 18 or later.
Use import statement or const noTrailingSpaces = require('remark-lint-no-trailing-spaces').default.No action needed; but consider migrating to ESM for future compatibility.
Use additional remark-lint rules like remark-lint-no-consecutive-blank-lines or remark-lint-final-newline for related checks.
npm install remark-lint-no-trailing-spaces
Use: const noTrailingSpaces = require('remark-lint-no-trailing-spaces').default; OR switch to ESM.npm install remark-lint
No dependency data recorded yet.