1.0.0 • Published 3 years ago

eslint-plugin-i18n-translated v1.0.0

Weekly downloads
18
License
MIT
Repository
-
Last release
3 years ago

eslint-plugin-i18n-translated

Eslint plugin to ensure i18n translation are translated

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-i18n-translated:

$ npm install eslint-plugin-i18n-translated --save-dev

Note: 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