You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-myfp
:
$ npm install eslint-plugin-test --save-dev
Add myfp
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"test"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"test/rule-name": 2
}
}
- Tba rules.
- Fill in provided rules here