jsx-eslint/eslint-plugin-react
View on GitHubreact/no-direct-mutation-state doesn't catch all cases
Open
#1,418 opened on Sep 8, 2017
help wanted
Description
const { model } = this.state;
model.rating = rate;
In this case eslint won't show any errors.