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

Optional stylistic rule for requiring a static name #54

Open
stramel opened this issue May 10, 2021 · 0 comments
Open

Optional stylistic rule for requiring a static name #54

stramel opened this issue May 10, 2021 · 0 comments
Labels
help wanted Extra attention is needed new lint rule New lint rule request

Comments

@stramel
Copy link
Collaborator

stramel commented May 10, 2021

I have seen quite a bit recently a pattern of a static getter or property for the component name. We could fairly easily add an opt-in rule for this.

Something like require-static-name with a default config { propertyName: 'is' } that could be changed to something like { propertyName: 'tag' } instead?

@stramel stramel added help wanted Extra attention is needed new lint rule New lint rule request labels May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed new lint rule New lint rule request
Projects
None yet
Development

No branches or pull requests

1 participant