Lint exati
You'll first need to install ESLint:
$ yarn add eslint --dev
Next, install eslint-plugin-exati
:
$ yarn add eslint-plugin-exati --dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-exati
globally.
Add exati
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"exati"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"exati/rule-name": 2,
"exati/valid-underscore": ["error", { "allowAfterThis": true, "allowParent": ["vm"] }]
}
}
- exati/valid-translate-key
- exati/valid-underscore