Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 26e43db

Browse files
authored
fix: do not add ESLint config to ejected app
Otherwise we get: `Error while running ESLint: Cannot find module 'eslint-config-react-app'`
1 parent c27879b commit 26e43db

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/react-scripts/scripts/eject.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,12 +208,6 @@ inquirer
208208
presets: ['react-app'],
209209
};
210210

211-
// Add ESlint config
212-
console.log(` Adding ${cyan('ESLint')} configuration`);
213-
appPackage.eslintConfig = {
214-
extends: 'react-app',
215-
};
216-
217211
fs.writeFileSync(
218212
path.join(appPath, 'package.json'),
219213
JSON.stringify(appPackage, null, 2) + '\n'

0 commit comments

Comments
 (0)