remark-lint rule to warn when every line in shell code blocks is prefixed by a `$` sign, which hinders copy/pasting. Current version 4.0.1, part of the remark-lint monorepo. ESM-only, supports Node.js 16+. No configurable options. It is included in the `remark-preset-lint-markdown-style-guide` preset. Differentiates from other lint rules by focusing specifically on shell code readability and usability.
npm install remark-lint-no-shell-dollarsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Lint a Markdown file for shell code blocks where every line starts with $, indicating copy-paste issues.
Use import syntax instead of require().
Upgrade Node.js to version 16 or later.
Add remark-lint to your unified pipeline before using this rule.
Use without parameters: .use(remarkLintNoShellDollars).
Check preset compatibility when upgrading remark-lint monorepo.
Switch to import syntax or use dynamic import().
Use `import remarkLintNoShellDollars from 'remark-lint-no-shell-dollars'` without braces.
Run `npm install remark-lint-no-shell-dollars` and check spelling.