Skip to content

Commit 98c0f05

Browse files
aladdin-addljharb
authored andcommitted
[Docs] remove global install in readme
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
1 parent 754e131 commit 98c0f05

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ This change log adheres to standards from [Keep a CHANGELOG](https://keepachange
2121
- [readme] note use of typescript in readme `import/extensions` section ([#2440], thanks [@OutdatedVersion])
2222
- [Docs] `order`: use correct default value ([#2392], thanks [@hyperupcall])
2323
- [meta] replace git.io link in comments with the original URL ([#2444], thanks [@liby])
24+
- [Docs] remove global install in readme ([#2412], thanks [@aladdin-add])
2425

2526
## [2.26.0] - 2022-04-05
2627

@@ -1289,6 +1290,7 @@ for info on changes for earlier releases.
12891290
[#164]: https://github.com/import-js/eslint-plugin-import/pull/164
12901291
[#157]: https://github.com/import-js/eslint-plugin-import/pull/157
12911292
[#2444]: https://github.com/import-js/eslint-plugin-import/issues/2444
1293+
[#2412]: https://github.com/import-js/eslint-plugin-import/issues/2412
12921294
[#2392]: https://github.com/import-js/eslint-plugin-import/issues/2392
12931295
[#2340]: https://github.com/import-js/eslint-plugin-import/issues/2340
12941296
[#2255]: https://github.com/import-js/eslint-plugin-import/issues/2255

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,6 @@ The maintainers of `eslint-plugin-import` and thousands of other packages are wo
123123

124124
## Installation
125125

126-
```sh
127-
npm install eslint-plugin-import -g
128-
```
129-
130-
or if you manage ESLint as a dev dependency:
131-
132126
```sh
133127
# inside your project's working tree
134128
npm install eslint-plugin-import --save-dev

0 commit comments

Comments
 (0)