Skip to content

Commit

Permalink
Prevent usage of the return value of ReactDOM.render (react/no-render…
Browse files Browse the repository at this point in the history
…-return-value)

Fixes: standard/standard#1568
  • Loading branch information
feross committed Oct 28, 2020
1 parent 2f94c18 commit 11778af
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 @@ -22,6 +22,7 @@
"react/no-danger-with-children": "error",
"react/no-deprecated": "error",
"react/no-direct-mutation-state": "error",
"react/no-render-return-value": "error",
"react/no-is-mounted": "error",
"react/no-find-dom-node": "error",
"jsx-quotes": ["error", "prefer-single"],
Expand Down

0 comments on commit 11778af

Please sign in to comment.