diff --git a/packages/react-scripts/config/webpack.config.js b/packages/react-scripts/config/webpack.config.js index 502736ead11..67fc3a4b070 100644 --- a/packages/react-scripts/config/webpack.config.js +++ b/packages/react-scripts/config/webpack.config.js @@ -757,6 +757,7 @@ module.exports = function (webpackEnv) { eslintPath: require.resolve('eslint'), context: paths.appSrc, cache: true, + treads: true, cacheLocation: path.resolve( paths.appNodeModules, '.cache/.eslintcache' diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index e7cf28e1924..e73c77221b3 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -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.4.1", "file-loader": "6.1.1", "fs-extra": "^9.0.1", "html-webpack-plugin": "4.5.0",