Testing for facebook/create-react-app#10170
Note: the directory names refer to the version of react-scripts
TLDR: having both react-scripts@4.0.2
and eslint-webpack-plugin@2.5.0
causes no warnings to appear
The main
branch uses a base TypeScript template built using create-react-app --template typescript
. The only change was adding const unused = 5;
to App.tsx
.
- Both apps on this branch use the dependencies initially installed by
create-react-app
- Notably,
eslint-webpack-plugin
is at version2.4.3
Both apps correctly show the expected warning from eslint:
The updated
branch uses the same base templates which have been upgraded by running the following commands:
rm -rf node_modules yarn.lock
yarn install
- Notably,
eslint-webpack-plugin
is at version2.5.0
v4.0.1 correctly shows the expected warning:
v4.0.2 doesn't show any warnings: