0.0.2 • Published 2 years ago

eslint-plugin-ban-class v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eslint-plugin-ban-class

Ban named specific class

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-ban-class:

npm install eslint-plugin-ban-class --save-dev

Usage

Add ban-class to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["ban-class"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "ban-class/ban-class": ["error", { "banned": ["Date"] }]
  }
}

Rules

NameDescription
ban-classDefine classes to be banned from the project
0.0.2

2 years ago

0.0.1

2 years ago

0.0.0-rc7

2 years ago

0.0.0-rc6

2 years ago

0.0.0-rc5

2 years ago

0.0.0-rc4

2 years ago

0.0.0-rc3

2 years ago

0.0.0-rc2

2 years ago

0.0.0-rc1

2 years ago