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