Skip to content

Commit

Permalink
Prevent invalid characters from appearing in markup (react/no-unescap…
Browse files Browse the repository at this point in the history
…ed-entities)

Fixes: standard/standard#1566
  • Loading branch information
feross committed Oct 28, 2020
1 parent 9b038b4 commit 4009c30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"react/no-danger-with-children": "error",
"react/no-deprecated": "error",
"react/no-direct-mutation-state": "error",
"react/no-unescaped-entities": ["error", {
"forbid": [">", "}"]
}],
"react/no-string-refs": ["error", {
"noTemplateLiterals": true
}],
Expand Down

0 comments on commit 4009c30

Please sign in to comment.