Skip to content

Commit

Permalink
Formatting + use constant
Browse files Browse the repository at this point in the history
  • Loading branch information
andyecrow authored and victor-travelperk committed Jun 8, 2020
1 parent 70fd32d commit 83e2264
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/react-scripts/config/webpack.config.js
Expand Up @@ -366,13 +366,11 @@ module.exports = function (webpackEnv) {
// @remove-on-eject-begin
ignore: isExtendingEslintConfig,
baseConfig: isExtendingEslintConfig
? undefined
: {
extends: [
require.resolve('eslint-config-react-app'),
],
},
useEslintrc: false,
? undefined
: {
extends: [require.resolve('eslint-config-react-app'),],
},
useEslintrc: isExtendingEslintConfig,
// @remove-on-eject-end
},
loader: require.resolve('eslint-loader'),
Expand Down

0 comments on commit 83e2264

Please sign in to comment.