Skip to content

GuilhermeAB/eslint-plugin-exati

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published