Add new ESLint rule requiring explicit button types (#36738)

This commit is contained in:
Echo authored and GitHub committed 2025-11-05 15:11:04 +00:00
1 parent 1a31c412ca
commit 6337e036f3
37 files changed
+101 -26

No files matched your search

@@ -153,7 +153,7 @@ export const Default = {
the app.
</p>
<p>
When a <button>Button</button> is focused,
When a <button type='button'>Button</button> is focused,
<kbd>Enter</kbd>
should not trigger open, but <kbd>o</kbd>
should.