Skip to content

Commit

Permalink
Update ESLint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Mar 16, 2020
1 parent 5ffe07f commit 90c8827
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"reservedFirst": ["key"]
}],
"react/require-default-props": "off",
"react/sort-prop-types": "error"
"react/sort-prop-types": "error",
"react/state-in-constructor": ["error", "never"]
},
"overrides": [
{
Expand Down

0 comments on commit 90c8827

Please sign in to comment.