Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react/no-direct-mutation-state in non-React code #229

Closed
jerrysu opened this issue Sep 28, 2015 · 3 comments
Closed

react/no-direct-mutation-state in non-React code #229

jerrysu opened this issue Sep 28, 2015 · 3 comments
Labels

Comments

@jerrysu
Copy link

jerrysu commented Sep 28, 2015

Any way to limit react/no-direct-mutation-state to code executed in a React component context?

I happen to use this.state in other types of classes and receiving lint errors on this.

@jerrysu
Copy link
Author

jerrysu commented Sep 30, 2015

Awesome. Thanks! 👍

@yannickcr
Copy link
Member

Thanks to you for the bug report :)

It should be fixed in v3.5.1

@fand
Copy link

fand commented Oct 2, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants