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

Add missing lifecyle methods to react/sort-comp #2043

Merged
merged 1 commit into from
Aug 10, 2019
Merged

Conversation

felpin
Copy link
Contributor

@felpin felpin commented Jun 17, 2019

On react/sort-comp rule description it shows the default configuration for lifecycle methods and some of them were missing here. This PR just adds them.

Fixes #2040

'componentDidUpdate',
'componentDidCatch',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it's present twice: here and two lines below. Is it intended, or just a side effect of two parallel PRs?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, it's a side effect. i'll clean it up prior to release (or, a PR is helpful)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure #2108

Hypnosphi added a commit to Hypnosphi/javascript that referenced this pull request Oct 3, 2019
See airbnb#2043 (comment)

I left the one before `cWU`, as in [defaults](airbnb#2043 (comment))
ljharb pushed a commit to Hypnosphi/javascript that referenced this pull request Oct 3, 2019
ljharb pushed a commit to Hypnosphi/javascript that referenced this pull request Oct 4, 2019
vunb pushed a commit to hsdt/javascript that referenced this pull request Nov 27, 2019
rchrdw pushed a commit to rchrdw/javascript that referenced this pull request Feb 18, 2021
eugene2candy pushed a commit to eugene2candy/javascript that referenced this pull request Apr 10, 2021
passionSeven added a commit to passionSeven/javascript that referenced this pull request Jan 27, 2023
Binary-Ninja-007 pushed a commit to Binary-Ninja-007/JavaScript_Style_Guide that referenced this pull request Aug 13, 2023
harry908nilson pushed a commit to marcolane/Javascriipt that referenced this pull request Sep 1, 2023
olehrab pushed a commit to olehrab/JavaScript that referenced this pull request Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add componentDidCatch to lifecycle for react/sort-comp
3 participants