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