Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jzeltman/352ea9cd414ab6668b5269db194e1c06 to your computer and use it in GitHub Desktop.
Save jzeltman/352ea9cd414ab6668b5269db194e1c06 to your computer and use it in GitHub Desktop.
ESLint All eslint-plugin-jsx-a11y rules
{
"rules": {
"jsx-a11y/anchor-has-content": 1,
"jsx-a11y/aria-props": 1,
"jsx-a11y/aria-proptypes": 1,
"jsx-a11y/aria-role": 1,
"jsx-a11y/aria-unsupported-elements": 1,
"jsx-a11y/click-events-have-key-events": 1,
"jsx-a11y/heading-has-content": 1,
"jsx-a11y/href-no-hash": 1,
"jsx-a11y/html-has-lang": 1,
"jsx-a11y/img-has-alt": 1,
"jsx-a11y/img-redundant-alt": 1,
"jsx-a11y/label-has-for": 1,
"jsx-a11y/lang": 1,
"jsx-a11y/mouse-events-have-key-events": 1,
"jsx-a11y/no-access-key": 1,
"jsx-a11y/no-marquee": 1,
"jsx-a11y/no-onchange": 1,
"jsx-a11y/no-static-element-interactions": 1,
"jsx-a11y/onclick-has-focus": 1,
"jsx-a11y/onclick-has-role": 1,
"jsx-a11y/role-has-required-aria-props": 1,
"jsx-a11y/role-supports-aria-props": 1,
"jsx-a11y/scope": 1,
"jsx-a11y/tabindex-no-positive": 1,
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment