chore(lint): check ARIA roles on DOM elements only

AuthGuard and RegisterProgress take the account type as a `role` prop
(`role="creator"`), which jsx-a11y/aria-role read as an invalid ARIA role.
`ignoreNonDOM` keeps the rule for real elements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Amiram_se 2026-10-05 22:32:43 +04:00
parent 02e543d95d
commit f5e0ffb668
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,9 @@
"categories": { "categories": {
"correctness": "error" "correctness": "error"
}, },
"rules": {}, "rules": {
"jsx-a11y/aria-role": ["error", { "ignoreNonDOM": true }]
},
"env": { "env": {
"builtin": true, "builtin": true,
"browser": true, "browser": true,