mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 01:23:52 +00:00
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:
committed by
David Lechner
parent
83132ad34b
commit
0362857c0d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user