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.
This commit is contained in:
David Lechner
2022-06-01 18:03:15 -05:00
committed by David Lechner
parent 83132ad34b
commit 0362857c0d
-8
View File
@@ -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