jsx-eslint/eslint-plugin-react

react/no-direct-mutation-state doesn't catch all cases

Open

#1,418 opened on 2017年9月8日

GitHub で見る
 (8 comments) (0 reactions) (0 assignees)JavaScript (8,630 stars) (2,797 forks)batch import
help wanted

説明

  const { model } = this.state;
  model.rating = rate;

In this case eslint won't show any errors.

コントリビューターガイド