remark preset to configure remark-lint with markdown style conventions
$ npm install remark remark-cli @dsmjs/remark-preset-lint --save-dev
Add to the project's .remarkrc.js
:
exports.plugins = ['@dsmjs/remark-preset-lint'];
Add an npm script that will run as part of npm test
:
"lint:md": "remark --frail ."
$ nvm install
$ npm install
$ npm test