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 (8,630 star) (2,797 fork)batch import
help wanted

描述

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

In this case eslint won't show any errors.

贡献者指南