You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No eslint warnings are being displayed inside the terminal as they used to. (errors work fine)
React-scripts thinks everything is fine
But running eslint manually shows that some warnings are still present
Not sure if this is connected to the bug, but 2 of the warnings should actually be ignored because of an // eslint-disable-line comment, but for some reason they still get reported.
I've no clue what's going on. I checked the changelogs and saw nothing of cra disabling the warnings on purpose. I made sure the correct eslintrc file is used. Is there something I'm missing? 🤷🏻♂️
Edit: Just quickly tested with a fresh cra install if the same behaviour is happening. And yes, npx create-react-app my-app --template typescript resulted in the same behaviour. I added a variable and never used it, which will show a "variable never used" warning, and car reported nothing in the terminal. Is this behaviour intended? If so, is there a way to enable warnings again? 😁
The expected behaviour
Eslint warnings should still appear in the terminal.
The text was updated successfully, but these errors were encountered:
React version: 16.13.1
Steps To Reproduce
Upgrade to react-scripts 4
The current behaviour
No eslint warnings are being displayed inside the terminal as they used to. (errors work fine)
React-scripts thinks everything is fine


But running eslint manually shows that some warnings are still present
Not sure if this is connected to the bug, but 2 of the warnings should actually be ignored because of an
// eslint-disable-line
comment, but for some reason they still get reported.I've no clue what's going on. I checked the changelogs and saw nothing of cra disabling the warnings on purpose. I made sure the correct eslintrc file is used. Is there something I'm missing? 🤷🏻♂️
Edit: Just quickly tested with a fresh cra install if the same behaviour is happening. And yes,
npx create-react-app my-app --template typescript
resulted in the same behaviour. I added a variable and never used it, which will show a "variable never used" warning, and car reported nothing in the terminal. Is this behaviour intended? If so, is there a way to enable warnings again? 😁The expected behaviour
Eslint warnings should still appear in the terminal.
The text was updated successfully, but these errors were encountered: