0.8.4 • Published 7 months ago
eslint-plugin-deprecate v0.8.4
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.4
7 months ago
0.8.1
8 months ago
0.8.3
7 months ago
0.8.2
8 months ago
0.8.0
10 months ago
0.7.0
5 years ago
0.6.0
5 years ago
0.5.4
6 years ago
0.5.3
6 years ago
0.5.2
6 years ago
0.4.3
6 years ago
0.5.1
6 years ago
0.5.0
6 years ago
0.4.2
7 years ago
0.4.1
7 years ago
0.3.1
7 years ago
0.3.0
7 years ago
0.2.3
7 years ago
0.2.2
7 years ago
0.2.1
7 years ago
0.2.0
7 years ago
0.1.0
7 years ago