Skip to content

Commit

Permalink
Correct ESLint CLI options
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Mar 13, 2017
1 parent bb49188 commit 65c0b96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/react-scripts/config/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ module.exports = {
// @remove-on-eject-begin
// Point ESLint to our predefined config.
options: {
extends: ['react-app'],
baseConfig: {
extends: ['react-app'],
},
useEslintrc: false,
},
// @remove-on-eject-end
Expand Down
4 changes: 3 additions & 1 deletion packages/react-scripts/config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ module.exports = {
options: {
// TODO: consider separate config for production,
// e.g. to enable no-console and no-debugger only in production.
extends: ['react-app'],
baseConfig: {
extends: ['react-app'],
},
useEslintrc: false,
},
// @remove-on-eject-end
Expand Down

0 comments on commit 65c0b96

Please sign in to comment.