-
-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Description
Describe the bug
Starting from version 4.0.0-next.96 my custom eslint rules are extended automatically into my react app. It works fine on version 4.0.0-next.77.
Did you try recovering your dependencies?
npm version 6.14.8
Which terms did you search for in User Guide?
- Advanced Configuration
- EXTEND_ESLINT
Environment
current version of create-react-app: 3.4.1
running from /home/andreisirotin/.npm/_npx/38194/lib/node_modules/create-react-app
System:
OS: Linux 5.4 Ubuntu 20.04.1 LTS (Focal Fossa)
CPU: (8) x64 Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz
Binaries:
Node: 10.19.0 - /usr/bin/node
Yarn: 1.22.5 - /usr/bin/yarn
npm: 6.14.8 - ~/Documents/3admin/admin-panel/node_modules/.bin/npm
Browsers:
Chrome: 85.0.4183.83
Firefox: 81.0
npmPackages:
react: ^16.13.1 => 16.13.1
react-dom: ^16.13.1 => 16.13.1
react-scripts: 4.0.0-next.77 => 4.0.0-next.77
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
npx create-react-app project
cd project
npm i react-scripts@4.0.0-next.98
npx eslint --init
✔ How would you like to use ESLint? · style
✔ What type of modules does your project use? · esm
✔ Which framework does your project use? · react
✔ Does your project use TypeScript? · No / Yes
✔ Where does your code run? · browser
✔ How would you like to define a style for your project? · guide
✔ Which style guide do you want to follow? · airbnb
✔ What format do you want your config file to be in? · JavaScript
npm run start
Expected behavior
I expected it to work like it used to
Actual behavior
It works as if I have EXTEND_ESLINT=true in my .env file, which doesn't allow it to run cus I have some half finished code.
Reproducible demo
https://github.com/andrei9669/react_scripts_next