Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

add no-dom-traversal-in-attributechangedcallback #40

Merged
merged 9 commits into from
Mar 24, 2022

Conversation

keithamus
Copy link
Contributor

This adds the no-dom-traversal-in-attributechangedcallback rule.

This rule disallows DOM traversal APIs (such as .querySelector) in the attributeChangedCallback.

Refs #3 #8

@keithamus keithamus mentioned this pull request Feb 25, 2022
16 tasks
@keithamus keithamus requested a review from a team as a code owner March 24, 2022 16:12
@keithamus keithamus requested a review from theinterned March 24, 2022 16:12
Copy link
Contributor

@koddsson koddsson left a comment

Choose a reason for hiding this comment

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

Looks good!

@koddsson koddsson merged commit c9dd79d into main Mar 24, 2022
@koddsson koddsson deleted the no-dom-traversal-in-attributechangedcallback branch March 24, 2022 16:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants