If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Can you reproduce the problem with latest npm?
Yes, on OSX Sierra.
Description
create-react-app test
cd test/
yarn add eslint
yarn start
Expected behavior
Should compile successfully.
Actual behavior
yarn start failed to compile, showing error: propTypes is not defined

Environment
Run these commands in the project folder and fill in their results:
npm ls react-scripts (if you haven’t ejected):
test@0.1.0 /Users/dinhquangtrung/Desktop/test
└── react-scripts@1.0.7
node -v:
npm -v:
Then, specify:
- Operating system: OSX Sierra
- Browser and version: (any)
Reproducible Demo
Repo: https://github.com/trungdq88/create-react-app-issue
Travis Build: https://travis-ci.org/trungdq88/create-react-app-issue/builds/242429125
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Can you reproduce the problem with latest npm?
Yes, on OSX Sierra.
Description
Expected behavior
Should compile successfully.
Actual behavior
yarn startfailed to compile, showing error:propTypes is not definedEnvironment
Run these commands in the project folder and fill in their results:
npm ls react-scripts(if you haven’t ejected):node -v:npm -v:Then, specify:
Reproducible Demo
Repo: https://github.com/trungdq88/create-react-app-issue
Travis Build: https://travis-ci.org/trungdq88/create-react-app-issue/builds/242429125