Skip to content

Commit

Permalink
fix(gatsby): Update eslint a11y config (#31896)
Browse files Browse the repository at this point in the history
  • Loading branch information
LekoArts authored Jun 14, 2021
1 parent cf33dae commit 28ca867
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gatsby/src/utils/eslint-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const eslintConfig = (
},
],
// https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/master/docs/rules
"jsx-a11y/accessible-emoji": `warn`,
// "jsx-a11y/accessible-emoji": `warn`, Deprecated
"jsx-a11y/alt-text": `warn`,
"jsx-a11y/anchor-has-content": `warn`,
"jsx-a11y/anchor-is-valid": `warn`,
Expand Down Expand Up @@ -173,7 +173,7 @@ export const eslintConfig = (
],
"jsx-a11y/no-noninteractive-element-to-interactive-role": `warn`,
"jsx-a11y/no-noninteractive-tabindex": `warn`,
"jsx-a11y/no-onchange": `warn`,
// "jsx-a11y/no-onchange": `warn`, Deprecated
"jsx-a11y/no-redundant-roles": `warn`,
"jsx-a11y/no-static-element-interactions": `warn`,
"jsx-a11y/role-has-required-aria-props": `warn`,
Expand Down

0 comments on commit 28ca867

Please sign in to comment.