Skip to content

Commit

Permalink
Explicitly check that EXTEND_ESLINT is true (facebook#7538)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrockWills authored and VasilyShelkov committed Sep 9, 2019
1 parent a4e37ad commit 7ba3281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.js
Expand Up @@ -323,7 +323,7 @@ module.exports = function(webpackEnv) {
}

// We allow overriding the config only if the env variable is set
if (process.env.EXTEND_ESLINT && eslintConfig) {
if (process.env.EXTEND_ESLINT === 'true' && eslintConfig) {
return eslintConfig;
} else {
return {
Expand Down

0 comments on commit 7ba3281

Please sign in to comment.