eslint-plugin-exati

Lint exati


Keywords
eslint, eslintplugin, eslint-plugin
License
ISC
Install
npm install eslint-plugin-exati@1.1.0

Documentation

eslint-plugin-exati

Lint exati

Installation

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.

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