Created by: trungdq88
Changes
- Upgrades
eslint-loaderfrom1.7.1->1.9.0. - Add
eslintPathoption toeslint-loader - Upgrades ESLint from
3.19.0to4.1.1 - Upgrades the unmet dependencies of ESlint
4.1.1.
Resolve related issues: https://github.com/facebookincubator/create-react-app/issues/2528, https://github.com/facebookincubator/create-react-app/issues/2604, https://github.com/facebookincubator/create-react-app/issues/2631
Tested with issue https://github.com/facebookincubator/create-react-app/issues/2528, verify with following script:
npm run create-react-app verify-issue-2528
cd verify-issue-2528
yarn add eslint
vim src/App.js # Add prop types to App.js
# static propTypes = {
# aoeu: React.PropTypes.any,
# }
yarn run build # Should build success :tada:
Screenshot
Tests
Passed: https://travis-ci.org/trungdq88/create-react-app/builds/250878659
