{"library":"remark-preset-lint-node","title":"remark-preset-lint-node","description":"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.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-preset-lint-node"],"cli":{"name":"remark","version":null}},"imports":["import preset from 'remark-preset-lint-node'","import remarkPresetLintNode from 'remark-preset-lint-node'","import { recommended } from 'remark-preset-lint-node'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { unified } from 'unified';\nimport remarkParse from 'remark-parse';\nimport remarkStringify from 'remark-stringify';\nimport remarkPresetLintNode from 'remark-preset-lint-node';\nimport remarkLint from 'remark-lint';\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkPresetLintNode)\n  .use(remarkStringify)\n  .process('# Hello\\n\\nSome text.');\n\nconsole.log(file.messages);","lang":"javascript","description":"Set up remark-lint with the node preset and process a markdown file.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}