Skip to content

Commit 8101126

Browse files
committed
Remove references to eslintrc in Webpack config
1 parent 8ee7c40 commit 8101126

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ module.exports = {
121121
// @remove-on-eject-begin
122122
// Point ESLint to our predefined config.
123123
options: {
124-
configFile: path.join(__dirname, '../eslintrc'),
124+
extends: ['react-app'],
125125
useEslintrc: false,
126126
},
127127
// @remove-on-eject-end

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ module.exports = {
122122
options: {
123123
// TODO: consider separate config for production,
124124
// e.g. to enable no-console and no-debugger only in production.
125-
configFile: path.join(__dirname, '../eslintrc'),
125+
extends: ['react-app'],
126126
useEslintrc: false,
127127
},
128128
// @remove-on-eject-end

0 commit comments

Comments
 (0)