[Glitch] Add new ESLint rule requiring explicit button types

Port 6337e036f3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo
2025-11-05 16:11:04 +01:00
committed by Claire
parent e1b7da0985
commit 13395e2d4d
36 changed files with 99 additions and 26 deletions

View File

@@ -237,6 +237,7 @@ export const DropdownMenu = <Item = MenuItem,>({
onKeyUp={handleItemKeyUp}
data-index={i}
aria-disabled={disabled}
type='button'
>
<DropdownMenuItemContent item={option} />
</button>