Skip to content

itgalaxy/remark-preset-lint-itgalaxy

Repository files navigation

remark-preset-lint-itgalaxy

NPM version Build Status dependencies Status devDependencies Status

Itgalaxy’s remark sharable preset for linting markdown.

Installation

You'll first need to install remark-cli and remark-lint:

$ npm i remark-cli remark-lint --save-dev

Next, install remark-preset-lint-itgalaxy:

$ npm install remark-preset-lint-itgalaxy --save-dev

Usage

Configurations do not contain stylistic rules. We use prettier for this purpose.

Add preset to package.json:

{
  "remarkConfig": {
    "presets": ["remark-preset-lint-itgalaxy"]
  }
}

Run lint:

node_modules/.bin/remark .

Changelog

CHANGELOG

License

MIT