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.
npm install remark-preset-lint-itgalaxyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the preset and its peer dependencies, configures remarkConfig in package.json, and runs the linter on all files.
Use Prettier for formatting; ensure Prettier is configured separately.
Upgrade Node.js to version 12 or later (current minimal requirement).
Use --save-dev to install as dev dependencies.
Run: npm install remark-preset-lint-itgalaxy --save-dev
Add "remarkConfig": { "plugins": ["remark-preset-lint-itgalaxy"] } to package.jsonRun: npm install remark-lint --save-dev