File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
packages/eslint-config-airbnb Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 65
65
"eslint-find-rules" : " ^3.2.3" ,
66
66
"eslint-plugin-import" : " ^2.13.0" ,
67
67
"eslint-plugin-jsx-a11y" : " ^6.0.3" ,
68
- "eslint-plugin-react" : " ^7.9.1 " ,
68
+ "eslint-plugin-react" : " ^7.10.0 " ,
69
69
"in-publish" : " ^2.0.0" ,
70
70
"react" : " >= 0.13.0" ,
71
71
"safe-publish-latest" : " ^1.1.1" ,
75
75
"eslint" : " ^4.19.1" ,
76
76
"eslint-plugin-import" : " ^2.13.0" ,
77
77
"eslint-plugin-jsx-a11y" : " ^6.0.3" ,
78
- "eslint-plugin-react" : " ^7.9.1 "
78
+ "eslint-plugin-react" : " ^7.10.0 "
79
79
},
80
80
"engines" : {
81
81
"node" : " >= 4"
Original file line number Diff line number Diff line change @@ -445,6 +445,10 @@ module.exports = {
445
445
// Disallow multiple spaces between inline JSX props
446
446
// https://github.com/yannickcr/eslint-plugin-react/blob/ac102885765be5ff37847a871f239c6703e1c7cc/docs/rules/jsx-props-no-multi-spaces.md
447
447
'react/jsx-props-no-multi-spaces' : 'error' ,
448
+
449
+ // Prevent usage of UNSAFE_ methods
450
+ // https://github.com/yannickcr/eslint-plugin-react/blob/157cc932be2cfaa56b3f5b45df6f6d4322a2f660/docs/rules/no-unsafe.md
451
+ 'react/no-unsafe' : 'off' ,
448
452
} ,
449
453
450
454
settings : {
You can’t perform that action at this time.
0 commit comments