0.8.5 • Published 12 months ago
eslint-plugin-deprecate v0.8.5
eslint-plugin-deprecate
This plugin helps you to refactor your codebase.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-deprecate
:
$ npm install eslint-plugin-deprecate --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-deprecate
globally.
Usage
Add deprecate
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"deprecate"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"deprecate/rule-name": 2
}
}
Supported Rules
- deprecate/function: Warn about some function usage.
- deprecate/member-expression: Warn about some member expression usages.
- deprecate/import: Warn about some import/require usage.
0.8.5
12 months ago
0.8.4
2 years ago
0.8.1
2 years ago
0.8.3
2 years ago
0.8.2
2 years ago
0.8.0
2 years ago
0.7.0
6 years ago
0.6.0
6 years ago
0.5.4
7 years ago
0.5.3
7 years ago
0.5.2
7 years ago
0.4.3
7 years ago
0.5.1
7 years ago
0.5.0
7 years ago
0.4.2
8 years ago
0.4.1
8 years ago
0.3.1
8 years ago
0.3.0
8 years ago
0.2.3
8 years ago
0.2.2
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.0
8 years ago