Skip to content

Commit 9552193

Browse files
committed
fix(lint): always use the latest react version to lint
see facebook/create-react-app#5043
1 parent 95d5427 commit 9552193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/eslintrc.web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const config = {
2525
'import/extensions': [...baseConfig.settings['import/extensions'], '.tsx'],
2626
react: {
2727
pragma: 'React',
28-
version: '16.0',
28+
version: 'detect',
2929
},
3030
},
3131
rules: {

0 commit comments

Comments
 (0)