You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
jsxA11yPlugin recommended rules are disabled due to flat config changes after 6.x versions #714
eslint-plugin-github’s flat React config (lib/configs/flat/react.js) currently spreads jsxA11yPlugin.flatConfigs.recommended and then defines its own rules object in the same config object.
Because JavaScript object spread is shallow, this pattern causes the later rules key to replace the rules from jsxA11yPlugin.flatConfigs.recommended instead of merging with it.
That unintentionally drops most of the jsx-a11y recommended rule set. In practice, only the explicitly listed rules in eslint-plugin-github remain active, so expected jsx-a11y rules are not enforced for consumers.
Proposed solution
Use explicit rule merging in the same object, so the recommended baseline is preserved and GitHub-specific overrides still apply:
Activity