mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-23 12:48:00 +08:00
Remove eslintConfig from package.json (#649)
This commit is contained in:
committed by
Dan Abramov
parent
052336db6a
commit
f4a53eea4d
@@ -30,11 +30,6 @@ module.exports = function(appPath, appName, verbose, originalDirectory) {
|
||||
'eject': 'react-scripts eject'
|
||||
};
|
||||
|
||||
// explicitly specify ESLint config path for editor plugins
|
||||
appPackage.eslintConfig = {
|
||||
extends: './node_modules/react-scripts/config/eslint.js',
|
||||
};
|
||||
|
||||
fs.writeFileSync(
|
||||
path.join(appPath, 'package.json'),
|
||||
JSON.stringify(appPackage, null, 2)
|
||||
|
||||
Reference in New Issue
Block a user