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
Add componentDidCatch to lifecycle for react/sort-comp #2040
Labels
Comments
If this is still open, can I work on it? |
Sure, that'd be great, thanks! |
Cool, ill look into it. |
I see
|
Should we close this issue? |
It needs to be added to the
|
I am sorry about that. I'll create a PR asap. |
PR for this #2060 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There was previously a ticket to add the new React lifecycle methods to the config: jsx-eslint/eslint-plugin-react#1767
It looks like the other methods were added to lifecycle, but componentDidCatch was not: https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb/rules/react.js#L274
The text was updated successfully, but these errors were encountered: