Skip to content

ESLint plugin with essential rules for Closure Compiler environment and JSDoc

License

Notifications You must be signed in to change notification settings

interfaced/eslint-plugin-interfaced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-interfaced

ESLint plugin with essential rules for Closure Compiler environment and JSDoc.

Usage

  1. Install the package:
npm i eslint-plugin-interfaced --save-dev
  1. Specify "interfaced" as a plugin in your .eslintrc:
{
  "plugins": [
    "interfaced"
  ]
}
  1. Enable all of the rules that you would like to use in your .eslintrc:
{
  "rules": {
    "interfaced/abstract-class-name-prefix": "error"
  }
}

Rules

JSDoc

Naming convention

Stylistic issues

Other

Redefined

Some useful rules provided by ESLint are slightly inappropriate for our environment, so we redefine them with some adjusting: