Skip to content

Commit

Permalink
update react.js config
Browse files Browse the repository at this point in the history
  • Loading branch information
khiga8 committed Feb 3, 2023
1 parent 7556b0b commit 3a1b6df
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/configs/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ module.exports = {
plugins: ['github', 'jsx-a11y'],
extends: ['plugin:jsx-a11y/recommended'],
rules: {
'github/a11y-no-generic-link-text': 'off',
'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': [
'error',
{
words: ['this', 'more', 'read here', 'read more'],
},
],
},
}

0 comments on commit 3a1b6df

Please sign in to comment.