Skip to content

Commit

Permalink
Enforce ES5 or ES6 class for returning value in render function (reac…
Browse files Browse the repository at this point in the history
…t/require-render-return)

Fixes: standard/standard#1565
  • Loading branch information
feross committed Oct 28, 2020
1 parent 4009c30 commit c9d5d67
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/require-render-return": "error",
"react/no-unescaped-entities": ["error", {
"forbid": [">", "}"]
}],
Expand Down

0 comments on commit c9d5d67

Please sign in to comment.