Skip to content

Commit 17971fa

Browse files
authored
Remove no-danger from recommended rules
Using `dangerouslySetInnerHTML` is already very explicit and there are some things you actually can't do w/out it. I don't think I'd say that using it isn't "recommended".
1 parent cd5ef2b commit 17971fa

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

index.js

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ module.exports = {
6363
'react/jsx-no-undef': 2,
6464
'react/jsx-uses-react': 2,
6565
'react/jsx-uses-vars': 2,
66-
'react/no-danger': 2,
6766
'react/no-deprecated': 2,
6867
'react/no-did-mount-set-state': [2, 'allow-in-func'],
6968
'react/no-did-update-set-state': [2, 'allow-in-func'],

0 commit comments

Comments
 (0)