Closed
Description
The component to tag mappings in recommended.js have not been updated for a while, and is overdue for a review.
In addition, this library is behind on jsx-a11y
and eslint-plugin-github
dependency updates.
We have a mapping that is used in eslint-plugin-jsx-a11y
and a mapping that is used in eslint-plugin-github
. The latter should be deprecated since it was an experimental feature that is deprecated in the latest eslint-plugin-github
.
- Are there any component to tag mappings that should be newly added? (Notably,
jsx-a11y
supports 1:1 component to tag mapping). However, we should be wary of adding some mappings that could raise a false positive. For example, if we mapAvatar
toimg
, but it already setsalt
internally default, the ESLint rule may incorrectly flag that there's a missingalt
. - Are there any component to tag mappings that should be removed?
Acceptance criteria
- Bump eslint-plugin-github and eslint-plugin-jsx-a11y dependency to the latest
- Ensure that the configs are up-to-date.