Rule Proposal: HTML Tag Requires Attribute #1800
enesyalcin
started this conversation in
New Rule Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
We have to add ids to Buttons and iFrames wherever they occur so the testing team can access them easier. Therefore, it would be great if we could have the Rule like
@html-eslint
has for requiring certain Attributes for HTML Tags.Proposed Rule name:
html-tag-require-attribute
Example as how
@html-eslint
did it. There you can configure which HTML Tags should have which Attributes.@html-eslint/require-attrs
I would be open to contribute with a little bit of Help into the right direction.
Beta Was this translation helpful? Give feedback.
All reactions