🐛 lint/a11y/useButtonType doesn't know when type is spread #2248
Labels
A-Linter
Area: linter
good first issue
Good for newcomers
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
What happened?
Biome should be able to tell that the type prop is spread onto the button element but it is still reported as an error in the
lint/a11y/useButtonType
rule.Expected result
It should not raise any error.
Code of Conduct
The text was updated successfully, but these errors were encountered: