Add eslintConfig to new projects automatically (#1457)

This commit is contained in:
Aaron Reisman
2018-09-21 05:15:01 -07:00
committed by Joe Haddad
parent 5254ffebca
commit 2aaf71eed0

View File

@@ -97,6 +97,11 @@ module.exports = function(
test: 'react-scripts test --env=jsdom',
eject: 'react-scripts eject',
};
// Setup the eslint config
appPackage.eslintConfig = {
'extends': 'react-app'
};
appPackage.browserslist = defaultBrowsers;