Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 18b5962

Browse filesBrowse files
authored
Upgrade eslint-webpack-plugin to fix opt-out flag (#10590)
1 parent 9722ef1 commit 18b5962
Copy full SHA for 18b5962

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎packages/react-scripts/config/webpack.config.js

Copy file name to clipboardExpand all lines: packages/react-scripts/config/webpack.config.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ module.exports = function (webpackEnv) {
759759
extensions: ['js', 'mjs', 'jsx', 'ts', 'tsx'],
760760
formatter: require.resolve('react-dev-utils/eslintFormatter'),
761761
eslintPath: require.resolve('eslint'),
762-
emitWarning: isEnvDevelopment && emitErrorsAsWarnings,
762+
failOnError: !(isEnvDevelopment && emitErrorsAsWarnings),
763763
context: paths.appSrc,
764764
cache: true,
765765
cacheLocation: path.resolve(

‎packages/react-scripts/package.json

Copy file name to clipboardExpand all lines: packages/react-scripts/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"eslint-plugin-react": "^7.21.5",
5454
"eslint-plugin-react-hooks": "^4.2.0",
5555
"eslint-plugin-testing-library": "^3.9.2",
56-
"eslint-webpack-plugin": "^2.1.0",
56+
"eslint-webpack-plugin": "^2.5.2",
5757
"file-loader": "6.1.1",
5858
"fs-extra": "^9.0.1",
5959
"html-webpack-plugin": "4.5.0",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.