diff --git a/packages/react-scripts/scripts/init.js b/packages/react-scripts/scripts/init.js index 864005ecac2..1e14729dfbc 100644 --- a/packages/react-scripts/scripts/init.js +++ b/packages/react-scripts/scripts/init.js @@ -29,6 +29,11 @@ module.exports = function(appPath, appName, verbose, originalDirectory, template 'test': 'react-scripts test --env=jsdom', 'eject': 'react-scripts eject' }; + + // Setup the eslint config + appPackage.eslintConfig = { + 'extends': 'react-app' + }; fs.writeFileSync( path.join(appPath, 'package.json'),