From 88a2a3cd9f90ddf5a900c9471d5fabf5f6cf29db Mon Sep 17 00:00:00 2001 From: tidy-dev <75402236+tidy-dev@users.noreply.github.com> Date: Fri, 7 Jul 2023 14:06:02 -0400 Subject: [PATCH] Remove autofocus warning --- .eslintrc.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index eb3ba3b7da..64e5847c46 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -189,21 +189,6 @@ rules: - selector: ExportDefaultDeclaration message: Use of default exports is forbidden - ########### - # jsx-a11y # - ########### - - # autofocus is fine when it is being used to set focus to something in a way - # that doesn't skip any context or inputs. For example, in a named dialog, if you had - # a close button, a heading reflecting the name, and a labelled text input, - # focusing the text input wouldn't disadvantage a user because they're not - # missing anything of importance before it. The problem is when it is used on - # larger web pages, e.g. to focus a form field in the main content, entirely - # skipping the header and often much else besides. - jsx-a11y/no-autofocus: - - warn - - ignoreNonDOM: true - overrides: - files: '*.d.ts' rules: