A remark preset for linting Markdown files in the Node.js repository with specific rules for Node.js documentation style. Current stable version is 5.1.2. Released on a cadence aligned with Node.js documentation updates. Key differentiators: includes custom rules for YAML comments, version validation via environment variables, and enforces Node.js project conventions like maximum line length of 120 characters. Preset is used in combination with remark-lint and is part of the Node.js toolchain.
npm install remark-preset-lint-nodeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Set up remark-lint with the node preset and process a markdown file.
Switch to ESM imports and ensure Node.js >=18.0.0.
Update documentation to adhere to 120 characters per line, or override the rule.
Upgrade to latest remark-lint and remark-preset-lint-node.
Set NODE_RELEASED_VERSIONS as a comma-separated list of version strings.
Use ESM import or ensure package is installed and project is configured for ESM.
Use import preset from 'remark-preset-lint-node' instead of { preset }.Install and configure remark-lint correctly.