Skip to content

Commit 83e2264

Browse files
andyecrowvictor-travelperk
authored andcommitted
Formatting + use constant
1 parent 70fd32d commit 83e2264

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

packages/react-scripts/config/webpack.config.js

+5-7
Original file line numberDiff line numberDiff line change
@@ -366,13 +366,11 @@ module.exports = function (webpackEnv) {
366366
// @remove-on-eject-begin
367367
ignore: isExtendingEslintConfig,
368368
baseConfig: isExtendingEslintConfig
369-
? undefined
370-
: {
371-
extends: [
372-
require.resolve('eslint-config-react-app'),
373-
],
374-
},
375-
useEslintrc: false,
369+
? undefined
370+
: {
371+
extends: [require.resolve('eslint-config-react-app'),],
372+
},
373+
useEslintrc: isExtendingEslintConfig,
376374
// @remove-on-eject-end
377375
},
378376
loader: require.resolve('eslint-loader'),

0 commit comments

Comments
 (0)