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