html-eslint
html-eslint copied to clipboard
[Feature request] Auto fix for require-button-type
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"