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