From 6f2ade5891b80790c9ed97875a67c26afdc66eb3 Mon Sep 17 00:00:00 2001 From: vasu Date: Thu, 9 Nov 2023 22:52:51 +0530 Subject: [PATCH] fix codegen GitHub actions --- .../src/aria_analyzers/nursery/use_valid_aria_role.rs | 2 +- website/src/content/docs/linter/rules/use-valid-aria-role.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/biome_js_analyze/src/aria_analyzers/nursery/use_valid_aria_role.rs b/crates/biome_js_analyze/src/aria_analyzers/nursery/use_valid_aria_role.rs index 2eccb91d7e33..ea3e5810a0ac 100644 --- a/crates/biome_js_analyze/src/aria_analyzers/nursery/use_valid_aria_role.rs +++ b/crates/biome_js_analyze/src/aria_analyzers/nursery/use_valid_aria_role.rs @@ -56,7 +56,7 @@ declare_rule! { /// { /// "//": "...", /// "options": { - /// "allowInvalidRoles": ["invalid", "text"], + /// "allowInvalidRoles": ["invalid-role", "text"], /// "nonIgnoreDom": true /// } /// } diff --git a/website/src/content/docs/linter/rules/use-valid-aria-role.md b/website/src/content/docs/linter/rules/use-valid-aria-role.md index a4b4ba02460d..0e2e2cfa5389 100644 --- a/website/src/content/docs/linter/rules/use-valid-aria-role.md +++ b/website/src/content/docs/linter/rules/use-valid-aria-role.md @@ -116,7 +116,7 @@ Source: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rule { "//": "...", "options": { - "allowInvalidRoles": ["invalid", "text"], + "allowInvalidRoles": ["invalid-role", "text"], "nonIgnoreDom": true } }