remark-preset-lint-starstuff
Opinionated, yet simple preset for
remark-lint
Philosophy
This config is built with the assumption that you're going to be using Prettier across your project, and want remark-lint to provide advice and respect Prettier's formatting. This config aims to share this in a simple, shareable config.Installation
npm install --save-dev remark-preset-lint-starstuff
Usage
Set the following in yourpackage.json
:{
"remarkConfig": {
"plugins": ["preset-lint-starstuff"]
}
}
Run remark. Either
remark-cli
or jest-runner-remark
is recommended for this.