-
Notifications
You must be signed in to change notification settings - Fork 60
Bump eslint-plugin-jsx-a11y to 6.7.1 #395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,14 @@ module.exports = { | |
plugins: ['github', 'jsx-a11y'], | ||
extends: ['plugin:jsx-a11y/recommended'], | ||
rules: { | ||
'github/a11y-no-generic-link-text': 'error', | ||
'jsx-a11y/role-supports-aria-props': 'off', // Override with github/role-supports-aria-props until https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/issues/910 is resolved | ||
'github/role-supports-aria-props': 'error', | ||
'jsx-a11y/role-supports-aria-props': 'off', | ||
'jsx-a11y/no-aria-hidden-on-focusable': 'error', | ||
'jsx-a11y/anchor-ambiguous-text': [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This rule replaces our Maybe we want to enable the strict ruleset but I don't know, I think we need to review it. |
||
'error', | ||
{ | ||
words: ['this', 'more', 'read here', 'read more'], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Rules in addition to the defaults. |
||
}, | ||
], | ||
}, | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📣 Any "best practice" or existing practice for deprecating a rule? I've just marked the rule as deprecated and removed it from the config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if
github/a11y-no-generic-link-text
has been completely removed form the code base then you could just delete this document altogether!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh okay! I haven't removed the code yet. For this immediate release I will keep it marked as deprecated, then delete it entirely in follow-ups.