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
koddsson merged 9 commits into
mainfrom
no-dom-traversal-in-attributechangedcallback
Mar 24, 2022
Merged

add no-dom-traversal-in-attributechangedcallback#40
koddsson merged 9 commits into
mainfrom
no-dom-traversal-in-attributechangedcallback

Conversation

@keithamus

Copy link
Copy Markdown
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
Comment thread docs/rules/no-dom-traversal-in-attributechangedcallback.md Outdated
@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

@koddsson koddsson left a comment

Copy link
Copy Markdown
Contributor

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