diff --git a/lib/configs/react.js b/lib/configs/react.js index 7a891a41..a49ead99 100644 --- a/lib/configs/react.js +++ b/lib/configs/react.js @@ -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'], + }, + ], }, }