jsx-eslint/eslint-plugin-react

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

Open

#1,418 建立於 2017年9月8日

在 GitHub 查看
 (8 留言) (0 反應) (0 負責人)JavaScript (2,797 fork)batch import
help wanted

倉庫指標

Star
 (8,630 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

In this case eslint won't show any errors.

貢獻者指南