Typo 🤦

This commit is contained in:
Nicolò Ribaudo 2018-12-18 22:33:27 +01:00
parent cc78743ac8
commit 31c3de6bfa
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# @babel/eslint-plugin-developement
# @babel/eslint-plugin-development
A set of eslint rules to enforce best practices in the development of Babel plugins.
@ -10,17 +10,17 @@ You'll first need to install [ESLint](http://eslint.org):
$ npm install --save-dev eslint
```
Next, install `@babel/eslint-plugin-developement`:
Next, install `@babel/eslint-plugin-development`:
```
$ npm install --save-dev @babel/eslint-plugin-developement
$ npm install --save-dev @babel/eslint-plugin-development
```
Then, load the plugin in your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": ["@babel/developement"]
"plugins": ["@babel/development"]
}
```
@ -28,11 +28,11 @@ Then, load the plugin in your `.eslintrc` configuration file. You can omit the `
> Note: Rules marked with :wrench: are autofixable.
* `@babel/developement/no-deprecated-clone` (:wrench:): Disallows using the deprecated
* `@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/developement/no-undefined-identifier`: Disallows using
* `@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/developement/plugin-name`: Requires plugins to have a `name` property, which
* `@babel/development/plugin-name`: Requires plugins to have a `name` property, which
can be useful for debugging purposes.

View File

@ -1,5 +1,5 @@
{
"name": "@babel/eslint-plugin-developement",
"name": "@babel/eslint-plugin-development",
"version": "1.0.0",
"description": "A set of eslint rules to enforce best practices in the development of Babel plugins.",
"keywords": [