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
Cannot get react/state-in-constructor working #2162
Comments
Same here. It's not in the list of rules when you go to the documentation on npm. Looking at the commits, the merge seemed to fail a test on Jan 20 so maybe that is part of it |
That particular rule was merged in #1945, only 24 days ago, and has not yet been released to npm. Thus, you can't enable a rule that doesn't yet exist in a released version. |
@ljharb when are you going to release it on npm? |
There's no timeline; when a maintainer has time to do so. In this case, it'll be a minor, so I'll also look through the open PRs and make sure there's no new features or bugfixes that need merging first. |
Using ... I'm always getting the following error
1:1 error Definition for rule 'react/state-in-constructor' was not found react/state-in-constructor;
My
.eslintrc
file currently is as follows:Version of dependencies are:
The text was updated successfully, but these errors were encountered: