Skip to content

Commit 6b5922c

Browse files
committed
[eslint config] [breaking] set react version to "detect"
Fixes airbnb#1983.
1 parent a490005 commit 6b5922c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/eslint-config-airbnb/rules

‎packages/eslint-config-airbnb/rules/react.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ module.exports = {
515515
},
516516
react: {
517517
pragma: 'React',
518-
version: '16.0'
518+
version: 'detect',
519519
},
520520
propWrapperFunctions: [
521521
'forbidExtraProps', // https://www.npmjs.com/package/airbnb-prop-types

0 commit comments

Comments
 (0)