Skip to content

Commit

Permalink
[eslint config] [patch] re-add jsx-a11y/accessible-emoji, but disabled
Browse files Browse the repository at this point in the history
See #2322
  • Loading branch information
ljharb committed Nov 6, 2020
1 parent eee79a5 commit e5de51e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-config-airbnb/rules/react-a11y.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ module.exports = {
]
}],

// ensure emoji are accessible
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/accessible-emoji.md
// disabled; rule is deprecated
'jsx-a11y/accessible-emoji': 'off',

// elements with aria-activedescendant must be tabbable
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-activedescendant-has-tabindex.md
'jsx-a11y/aria-activedescendant-has-tabindex': 'error',
Expand Down

0 comments on commit e5de51e

Please sign in to comment.