From f5e0ffb6682563d6cd99b21fdb7105f6e71b1a9a Mon Sep 17 00:00:00 2001 From: Amiram_se Date: Mon, 5 Oct 2026 22:32:43 +0400 Subject: [PATCH] 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 --- .oxlintrc.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.oxlintrc.json b/.oxlintrc.json index f3374f3..b1077d3 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -12,7 +12,9 @@ "categories": { "correctness": "error" }, - "rules": {}, + "rules": { + "jsx-a11y/aria-role": ["error", { "ignoreNonDOM": true }] + }, "env": { "builtin": true, "browser": true,