Skip to content

Commit c9b9504

Browse files
BrockWillsianschmitz
authored andcommitted
Explicitly check that EXTEND_ESLINT is true (facebook#7538)
1 parent aafc7ff commit c9b9504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ module.exports = function(webpackEnv) {
348348
}
349349

350350
// We allow overriding the config only if the env variable is set
351-
if (process.env.EXTEND_ESLINT && eslintConfig) {
351+
if (process.env.EXTEND_ESLINT === 'true' && eslintConfig) {
352352
return eslintConfig;
353353
} else {
354354
return {

0 commit comments

Comments
 (0)