From 2a71e222980e055520ebadd212f3fd4771af95bf Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Tue, 22 Sep 2020 10:18:54 +0200 Subject: [PATCH] Fix installation commands Ref: https://github.com/facebook/create-react-app/pull/9434#issuecomment-696566848 Ref: https://github.com/facebook/create-react-app/issues/8998 --- readme.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 2420927a..5d4152cf 100644 --- a/readme.md +++ b/readme.md @@ -22,8 +22,16 @@ If the project doesn't use `create-react-app`, read on: With projects that don't use `create-react-app` (eg. Node.js or Next.js), then you will need to also run the following command: + + ```sh -npx install-peerdeps --dev --yarn eslint-config-react-app +yarn add upleveled/eslint-config-upleveled +npx install-peerdeps --dev --yarn -o eslint-config-upleveled +yarn remove eslint-config-upleveled ``` ### Verify Setup