eslint-plugin-interfaced

2.0.2 • Public • Published

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:

Package Sidebar

Install

npm i eslint-plugin-interfaced

Weekly Downloads

5

Version

2.0.2

License

MIT

Unpacked Size

138 kB

Total Files

67

Last publish

Collaborators

  • lacki
  • reefridge
  • kirilldronkin