Skip to content

Commit

Permalink
Disabling warning on setState
Browse files Browse the repository at this point in the history
Why? Because using setState isn't bad. It's useful for state that's only relevant to a given component.
  • Loading branch information
coryhouse authored Jul 30, 2016
1 parent fca503a commit cff6ba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"react/no-did-update-set-state": 1,
"react/no-direct-mutation-state": 1,
"react/no-multi-comp": 1,
"react/no-set-state": 1,
"react/no-set-state": 0,
"react/no-unknown-property": 1,
"react/prefer-es6-class": 1,
"react/prop-types": 1,
Expand Down

0 comments on commit cff6ba5

Please sign in to comment.