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 6565 "eslint-find-rules" : " ^3.2.3" ,
6666 "eslint-plugin-import" : " ^2.13.0" ,
6767 "eslint-plugin-jsx-a11y" : " ^6.0.3" ,
68- "eslint-plugin-react" : " ^7.9.1 " ,
68+ "eslint-plugin-react" : " ^7.10.0 " ,
6969 "in-publish" : " ^2.0.0" ,
7070 "react" : " >= 0.13.0" ,
7171 "safe-publish-latest" : " ^1.1.1" ,
7575 "eslint" : " ^4.19.1" ,
7676 "eslint-plugin-import" : " ^2.13.0" ,
7777 "eslint-plugin-jsx-a11y" : " ^6.0.3" ,
78- "eslint-plugin-react" : " ^7.9.1 "
78+ "eslint-plugin-react" : " ^7.10.0 "
7979 },
8080 "engines" : {
8181 "node" : " >= 4"
Original file line number Diff line number Diff line change @@ -445,6 +445,10 @@ module.exports = {
445445 // Disallow multiple spaces between inline JSX props
446446 // https://github.com/yannickcr/eslint-plugin-react/blob/ac102885765be5ff37847a871f239c6703e1c7cc/docs/rules/jsx-props-no-multi-spaces.md
447447 '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' ,
448452 } ,
449453
450454 settings : {
You can’t perform that action at this time.
0 commit comments