Skip to content

Commit 7ba3281

Browse files
BrockWillsVasilyShelkov
authored andcommitted
Explicitly check that EXTEND_ESLINT is true (facebook#7538)
1 parent a4e37ad commit 7ba3281

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
@@ -323,7 +323,7 @@ module.exports = function(webpackEnv) {
323323
}
324324

325325
// We allow overriding the config only if the env variable is set
326-
if (process.env.EXTEND_ESLINT && eslintConfig) {
326+
if (process.env.EXTEND_ESLINT === 'true' && eslintConfig) {
327327
return eslintConfig;
328328
} else {
329329
return {

0 commit comments

Comments
 (0)