plugin for darwin pet project
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-darwin-path
:
npm install eslint-plugin-darwin-path --save-dev
Add darwin-path
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"darwin-path"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"darwin-path/rule-name": 2
}
}
TODO: Run eslint-doc-generator to generate the rules list.