1.0.0 • Published 5 years ago
eslint-plugin-i18n-translated v1.0.0
eslint-plugin-i18n-translated
Eslint plugin to ensure i18n translation are translated
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-i18n-translated:
$ npm install eslint-plugin-i18n-translated --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-i18n-translated globally.
Usage
Add i18n-translated to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"i18n-translated"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"i18n-translated/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
1.0.0
5 years ago