{"id":26294,"library":"remark-preset-lint-itgalaxy","title":"remark-preset-lint-itgalaxy","description":"Itgalaxy's sharable preset for remark-lint, providing a set of opinionated Markdown linting rules. Current stable version is 16.0.0, with releases on an as-needed cadence. Key differentiator: it pairs with Prettier for styling, focusing only on content correctness. It enforces rules like no trailing spaces, fenced code flag, and consistent heading style. Supports Node >= 12.13.0 and is widely used in the Itgalaxy ecosystem.","status":"active","version":"16.0.0","language":"javascript","source_language":"en","source_url":"https://github.com/itgalaxy/remark-lint-config-itgalaxy","tags":["javascript","remark","remark-lint","preset","markdown","md","lint","itgalaxy","styleguide"],"install":[{"cmd":"npm install remark-preset-lint-itgalaxy","lang":"bash","label":"npm"},{"cmd":"yarn add remark-preset-lint-itgalaxy","lang":"bash","label":"yarn"},{"cmd":"pnpm add remark-preset-lint-itgalaxy","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required to run the preset via CLI.","package":"remark-cli","optional":false},{"reason":"Core linting engine that powers the preset.","package":"remark-lint","optional":false}],"imports":[{"note":"This is a preset for .remarkrc or package.json, not a programmatic API.","wrong":"Using require('remark-preset-lint-itgalaxy') in JavaScript code","symbol":"remark-preset-lint-itgalaxy","correct":"Add to package.json: \"remarkConfig\": { \"plugins\": [\"remark-preset-lint-itgalaxy\"] }"},{"note":"Should be a devDependency, not production dependency.","wrong":"npm install remark-lint --save","symbol":"remark-lint","correct":"npm install remark-lint --save-dev"},{"note":"Recommended to install locally to avoid version conflicts.","wrong":"Using global install (npm install -g remark-cli) without local devDependency","symbol":"remark-cli","correct":"npm install remark-cli --save-dev"}],"quickstart":{"code":"// 1. Install dependencies\nnpm install remark-cli remark-lint remark-preset-lint-itgalaxy --save-dev\n\n// 2. Add to package.json\n\"remarkConfig\": {\n  \"plugins\": [\"remark-preset-lint-itgalaxy\"]\n}\n\n// 3. Run linter\nnpx remark .","lang":"javascript","description":"Installs the preset and its peer dependencies, configures remarkConfig in package.json, and runs the linter on all files."},"warnings":[{"fix":"Use Prettier for formatting; ensure Prettier is configured separately.","message":"v12.0.0 removed all stylistic rules in favor of Prettier.","severity":"breaking","affected_versions":">=12.0.0"},{"fix":"Upgrade Node.js to version 12 or later (current minimal requirement).","message":"v13.0.0 dropped Node.js 4 support.","severity":"breaking","affected_versions":">=13.0.0"},{"fix":"Use --save-dev to install as dev dependencies.","message":"Use of --save (instead of --save-dev) for linting dependencies is deprecated practice.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run: npm install remark-preset-lint-itgalaxy --save-dev","cause":"Missing local installation of the preset.","error":"Error: Cannot find module 'remark-preset-lint-itgalaxy'"},{"fix":"Add \"remarkConfig\": { \"plugins\": [\"remark-preset-lint-itgalaxy\"] } to package.json","cause":"remarkConfig not set in package.json or .remarkrc missing.","error":"Error: No configuration provided for remark-lint"},{"fix":"Run: npm install remark-lint --save-dev","cause":"remark-lint is not installed alongside the preset.","error":"Error: Missing peer dependency remark-lint"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}