-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add more native properties #174
Comments
sorry for the slow response, have been away the last few weeks you've got a very good point. it'd be so easy to just add them to the list, but i do feel like the right thing to do is probably two rules:
basically identical code other than the list of names. what do you think? |
I have the same feelings! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is the
no-native-attributes
rule:https://github.com/43081j/eslint-plugin-lit/blob/master/docs/rules/no-native-attributes.md
But we also want to avoid native properties like
className
:https://developer.mozilla.org/en-US/docs/Web/API/Element/className
We should have a different rule?
Or just add more elements to the array?
eslint-plugin-lit/src/rules/no-native-attributes.ts
Lines 11 to 44 in 7e40fca
Thanks!
The text was updated successfully, but these errors were encountered: