Skip to content

Commit 3565973

Browse files
committed
Fix extends logic
1 parent 6547b31 commit 3565973

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ module.exports = function(webpackEnv) {
326326
// We allow overriding the config, only if it extends our config
327327
// (`extends` can be a string or array of strings).
328328
appPackageJson.eslintConfig &&
329+
appPackageJson.eslintConfig.extends &&
329330
appPackageJson.eslintConfig.extends.includes('react-app')
330331
? appPackageJson.eslintConfig
331332
: { extends: [require.resolve('eslint-config-react-app')] },

0 commit comments

Comments
 (0)