Skip to content

Commit

Permalink
docs: remove global-install in readme
Browse files Browse the repository at this point in the history
as said in the docs, In eslint v6+, users have to install the plugins locally.
refs: https://eslint.org/docs/user-guide/migrating-to-6.0.0#-plugins-and-shareable-configs-are-no-longer-affected-by-eslints-location
  • Loading branch information
aladdin-add authored Mar 23, 2022
1 parent 98bbb2c commit f020bdc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,6 @@ The maintainers of `eslint-plugin-import` and thousands of other packages are wo

## Installation

```sh
npm install eslint-plugin-import -g
```

or if you manage ESLint as a dev dependency:

```sh
# inside your project's working tree
npm install eslint-plugin-import --save-dev
Expand Down

0 comments on commit f020bdc

Please sign in to comment.