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

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

Open
maheshbansod opened this issue Jul 8, 2024 · 1 comment
Open

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

maheshbansod opened this issue Jul 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@maheshbansod
Copy link
Contributor

maheshbansod commented Jul 8, 2024

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"

@yeonjuan
Copy link
Owner

yeonjuan commented Jul 9, 2024

@maheshbansod I agree! Thanks for the suggestion 👍

@yeonjuan yeonjuan added the enhancement New feature or request label Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants