npm.io
2.0.2 • Published 4 years ago

eslint-plugin-interfaced

Licence
MIT
Version
2.0.2
Deps
3
Size
135 kB
Vulns
0
Weekly
0
Stars
1

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:

Keywords