diff --git a/packages/react-scripts/scripts/init.js b/packages/react-scripts/scripts/init.js index b283bad6ee6..5272345ea4f 100644 --- a/packages/react-scripts/scripts/init.js +++ b/packages/react-scripts/scripts/init.js @@ -42,6 +42,11 @@ module.exports = function( 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'),