Thanks to visit codestin.com
Credit goes to github.com

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

Define tag after class definition #4

Merged
merged 7 commits into from
Mar 24, 2021

Conversation

keithamus
Copy link
Contributor

This adds the define-tag-after-class-definition rule.

This rule enforces that the customElements.define call appear after a Custom Element Class has been defined.

Refs #3

This will be useful for tracking class references in a given context
object. This will simplify rule development where define calls reference
a class in the scope.
This can be a place to house commonly used selectors which are complex
and subtle
@keithamus keithamus mentioned this pull request Mar 23, 2021
16 tasks
@keithamus keithamus merged commit 685da1b into main Mar 24, 2021
@keithamus keithamus deleted the define-tag-after-class-definition branch March 24, 2021 12:37
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