1.1.0 • Published 6 years ago
eslint-plugin-exati v1.1.0
eslint-plugin-exati
Lint exati
Installation
You'll first need to install ESLint:
$ yarn add eslint --devNext, install eslint-plugin-exati:
$ yarn add eslint-plugin-exati --devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-exati globally.
Usage
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"] }]
}
}Supported Rules
- exati/valid-translate-key
- exati/valid-underscore