From 0362857c0d56a6a94c2ca284cab3d0e7da6dcce0 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Wed, 1 Jun 2022 17:53:46 -0500 Subject: [PATCH] webpack: drop eslilnt baseConfig This causes building with webpack to behave differently than building without. Also since updating eslint packages, this now causes a build error because it conflicts with the .eslintrc.js file with regard to the "react" plugin. --- config/webpack.config.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/config/webpack.config.js b/config/webpack.config.js index a39ba48a..3449b726 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -787,14 +787,6 @@ module.exports = function (webpackEnv) { // ESLint class options cwd: paths.appPath, resolvePluginsRelativeTo: __dirname, - baseConfig: { - extends: [require.resolve('eslint-config-react-app/base')], - rules: { - ...(!hasJsxRuntime && { - 'react/react-in-jsx-scope': 'error', - }), - }, - }, }), ].filter(Boolean), // Turn off performance processing because we utilize