From f020bdc28af682b9736816edfea86fdea8ace624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Wed, 23 Mar 2022 17:25:45 +0800 Subject: [PATCH] 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 --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index 1d7b55ff51..8efe178280 100644 --- a/README.md +++ b/README.md @@ -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