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:
parent
02e543d95d
commit
f5e0ffb668
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue