Skip to content

Commit 6f5221c

Browse files
igtmmrmckeb
authored andcommittedSep 24, 2019
Enable .eslintignore with extend flag (#7562)
1 parent b1e6155 commit 6f5221c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ module.exports = function(webpackEnv) {
342342
eslintPath: require.resolve('eslint'),
343343
resolvePluginsRelativeTo: __dirname,
344344
// @remove-on-eject-begin
345+
ignore: process.env.EXTEND_ESLINT === 'true',
345346
baseConfig: (() => {
346347
const eslintCli = new eslint.CLIEngine();
347348
let eslintConfig;
@@ -360,7 +361,6 @@ module.exports = function(webpackEnv) {
360361
};
361362
}
362363
})(),
363-
ignore: false,
364364
useEslintrc: false,
365365
// @remove-on-eject-end
366366
},

0 commit comments

Comments
 (0)