Skip to content

Commit ecec8e4

Browse files
backwardokljharb
authored andcommittedApr 6, 2021
Fully deprecate accessible-emoji rule
The [accessible-emoji rule got marked as deprecated](#713) to address #627, but was never removed from the rule set. This removes the rule from the strict and recommended lists and also updates the readme to reflect it being deprecated.
1 parent 8a0e43c commit ecec8e4

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed
 

‎README.md

-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ Add `plugin:jsx-a11y/recommended` or `plugin:jsx-a11y/strict` in `extends`:
9999

100100
## Supported Rules
101101

102-
- [accessible-emoji](docs/rules/accessible-emoji.md): Enforce emojis are wrapped in `<span>` and provide screenreader access.
103102
- [alt-text](docs/rules/alt-text.md): Enforce all elements that require alternative text have meaningful information to relay back to end user.
104103
- [anchor-has-content](docs/rules/anchor-has-content.md): Enforce all anchors to contain accessible content.
105104
- [anchor-is-valid](docs/rules/anchor-is-valid.md): Enforce all anchors are valid, navigable elements.
@@ -138,7 +137,6 @@ Add `plugin:jsx-a11y/recommended` or `plugin:jsx-a11y/strict` in `extends`:
138137

139138
Rule | Recommended | Strict
140139
------------ | ------------- | -------------
141-
[accessible-emoji](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/accessible-emoji.md) | error | error
142140
[alt-text](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/alt-text.md) | error | error
143141
[anchor-has-content](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-has-content.md) | error | error
144142
[anchor-is-valid](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md) | error | error

‎src/index.js

-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ module.exports = {
5050
},
5151
},
5252
rules: {
53-
'jsx-a11y/accessible-emoji': 'error',
5453
'jsx-a11y/alt-text': 'error',
5554
'jsx-a11y/anchor-has-content': 'error',
5655
'jsx-a11y/anchor-is-valid': 'error',
@@ -206,7 +205,6 @@ module.exports = {
206205
},
207206
},
208207
rules: {
209-
'jsx-a11y/accessible-emoji': 'error',
210208
'jsx-a11y/alt-text': 'error',
211209
'jsx-a11y/anchor-has-content': 'error',
212210
'jsx-a11y/anchor-is-valid': 'error',

0 commit comments

Comments
 (0)
Please sign in to comment.