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

feat: Add new rule [unregister-events] #7

Merged
merged 5 commits into from
Oct 5, 2021
Merged

Conversation

C-Hess
Copy link
Collaborator

@C-Hess C-Hess commented Oct 1, 2021

Adds new rule unregister-events, including documentation and tests. Will track and make sure that all registered window events in React components are unregistered when the component is unmounted.

@C-Hess C-Hess assigned C-Hess and unassigned C-Hess Oct 1, 2021
@C-Hess C-Hess assigned C-Hess and DavisBatten and unassigned C-Hess Oct 1, 2021
Copy link

@DavisBatten DavisBatten left a comment

Choose a reason for hiding this comment

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

The rule looks good for the syntax variants covered, although someone more creative than I might be able to think of more variations.

package.json Show resolved Hide resolved
@SamKirkland
Copy link

<3

@C-Hess C-Hess merged commit 859d063 into main Oct 5, 2021
@C-Hess C-Hess deleted the feature/unregister-events branch October 5, 2021 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants