7.22.10 • Published 1 month ago
@babel/eslint-plugin-development v7.22.10
@babel/eslint-plugin-development
A set of eslint rules to enforce best practices in the development of Babel plugins.
Installation
You'll first need to install ESLint:
$ npm install --save-dev eslint
Next, install @babel/eslint-plugin-development
:
$ npm install --save-dev @babel/eslint-plugin-development
Then, load the plugin in your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["@babel/development"]
}
Supported Rules
Note: Rules marked with :wrench: are autofixable.
@babel/development/no-deprecated-clone
(:wrench:): Disallows using the deprecatedt.clone(node)
andt.cloneDeep(node)
methods from@babel/types
. Those calls are replaced witht.cloneNode(node)
when usingeslint --fix
.@babel/development/no-undefined-identifier
: Disallows usingt.identifier("undefined")
to create a node which represents anundefined
value, since it might cause problem ifundefined
is redeclared.@babel/development/plugin-name
: Requires plugins to have aname
property, which can be useful for debugging purposes.
8.0.0-alpha.8
1 month ago
8.0.0-alpha.7
2 months ago
8.0.0-alpha.6
3 months ago
8.0.0-alpha.5
5 months ago
7.22.10
9 months ago
8.0.0-alpha.0
10 months ago
8.0.0-alpha.3
8 months ago
8.0.0-alpha.4
7 months ago
8.0.0-alpha.1
10 months ago
8.0.0-alpha.2
9 months ago
7.22.5
11 months ago
7.21.4-esm
1 year ago
7.21.4-esm.2
1 year ago
7.21.4-esm.3
1 year ago
7.21.4-esm.1
1 year ago
7.21.4-esm.4
1 year ago
7.19.1
2 years ago
7.17.7
2 years ago
7.16.5
2 years ago
7.14.5
3 years ago
7.13.10
3 years ago
7.12.13
3 years ago
7.11.0
4 years ago
1.0.1
5 years ago