Skip to content

Commit e5de51e

Browse files
committedNov 6, 2020
[eslint config] [patch] re-add jsx-a11y/accessible-emoji, but disabled
See #2322
1 parent eee79a5 commit e5de51e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎packages/eslint-config-airbnb/rules/react-a11y.js

+5
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,11 @@ module.exports = {
178178
]
179179
}],
180180

181+
// ensure emoji are accessible
182+
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/accessible-emoji.md
183+
// disabled; rule is deprecated
184+
'jsx-a11y/accessible-emoji': 'off',
185+
181186
// elements with aria-activedescendant must be tabbable
182187
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/aria-activedescendant-has-tabindex.md
183188
'jsx-a11y/aria-activedescendant-has-tabindex': 'error',

0 commit comments

Comments
 (0)
Failed to load comments.