Skip to content

Commit

Permalink
Prevent problem with children and props.dangerouslySetInnerHTML (reac…
Browse files Browse the repository at this point in the history
…t/no-danger-with-children)

Fixes: standard/standard#1573
  • Loading branch information
feross committed Oct 28, 2020
1 parent d767a6d commit 3700e0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

"rules": {
"react/no-children-prop": "error",
"react/no-danger-with-children": "error",
"jsx-quotes": ["error", "prefer-single"],
"react/jsx-boolean-value": "error",
"react/jsx-closing-bracket-location": ["error", "tag-aligned"],
Expand Down

0 comments on commit 3700e0d

Please sign in to comment.