Skip to content

Commit

Permalink
Upgrade eslint-webpack-plugin to fix opt-out flag (#10590)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmckeb committed Feb 22, 2021
1 parent 9722ef1 commit 18b5962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.js
Expand Up @@ -759,7 +759,7 @@ module.exports = function (webpackEnv) {
extensions: ['js', 'mjs', 'jsx', 'ts', 'tsx'],
formatter: require.resolve('react-dev-utils/eslintFormatter'),
eslintPath: require.resolve('eslint'),
emitWarning: isEnvDevelopment && emitErrorsAsWarnings,
failOnError: !(isEnvDevelopment && emitErrorsAsWarnings),
context: paths.appSrc,
cache: true,
cacheLocation: path.resolve(
Expand Down
2 changes: 1 addition & 1 deletion packages/react-scripts/package.json
Expand Up @@ -53,7 +53,7 @@
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^3.9.2",
"eslint-webpack-plugin": "^2.1.0",
"eslint-webpack-plugin": "^2.5.2",
"file-loader": "6.1.1",
"fs-extra": "^9.0.1",
"html-webpack-plugin": "4.5.0",
Expand Down

0 comments on commit 18b5962

Please sign in to comment.