html-eslint icon indicating copy to clipboard operation
html-eslint copied to clipboard

[Feature request] Auto fix for require-button-type

Open maheshbansod opened this issue 1 year ago • 1 comments

This issue is regarding the rule require-button-type The default for button type is "submit" if unspecified or invalid. ref: https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-type

For missing button type (and maybe for invalid too?), I would suggest having the auto fix to set the type to "submit"

maheshbansod avatar Jul 08 '24 07:07 maheshbansod