$ npm i eslint eslint-plugin-kaola --save-dev
Add kaola
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"kaola"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"kaola/no-keywords-assign": ["error"(, [...customKeywords])],
"kaola/no-addition": 2
}
}
- no-keywords-assign
- no-addition