7.25.9 • Published 8 months ago

@babel/eslint-plugin-development v7.25.9

Weekly downloads
296
License
MIT
Repository
github
Last release
8 months ago

@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 deprecated t.clone(node) and t.cloneDeep(node) methods from @babel/types. Those calls are replaced with t.cloneNode(node) when using eslint --fix.
  • @babel/development/no-undefined-identifier: Disallows using t.identifier("undefined") to create a node which represents an undefined value, since it might cause problem if undefined is redeclared.
  • @babel/development/plugin-name: Requires plugins to have a name property, which can be useful for debugging purposes.
8.0.0-alpha.13

8 months ago

7.25.9

8 months ago

7.25.7

9 months ago

8.0.0-alpha.9

1 year ago

7.25.1

11 months ago

8.0.0-alpha.10

1 year ago

7.24.6

1 year ago

8.0.0-alpha.11

1 year ago

8.0.0-alpha.12

11 months ago

7.24.7

1 year ago

8.0.0-alpha.8

1 year ago

8.0.0-alpha.7

1 year ago

8.0.0-alpha.6

1 year ago

8.0.0-alpha.5

2 years ago

7.22.10

2 years ago

8.0.0-alpha.0

2 years ago

8.0.0-alpha.3

2 years ago

8.0.0-alpha.4

2 years ago

8.0.0-alpha.1

2 years ago

8.0.0-alpha.2

2 years ago

7.22.5

2 years ago

7.21.4-esm

2 years ago

7.21.4-esm.2

2 years ago

7.21.4-esm.3

2 years ago

7.21.4-esm.1

2 years ago

7.21.4-esm.4

2 years ago

7.19.1

3 years ago

7.17.7

3 years ago

7.16.5

4 years ago

7.14.5

4 years ago

7.13.10

4 years ago

7.12.13

4 years ago

7.11.0

5 years ago

1.0.1

7 years ago