UNPKG

@iopipe/eslint-config-iopipe

Version:
47 lines (46 loc) 1.56 kB
module.exports = { env: { browser: true, }, parserOptions: { ecmaFeatures: { jsx: true, }, }, plugins: ['jsx-a11y'], rules: { 'jsx-a11y/accessible-emoji': 2, 'jsx-a11y/alt-text': 'warn', 'jsx-a11y/anchor-has-content': 2, 'jsx-a11y/anchor-is-valid': 2, 'jsx-a11y/aria-activedescendant-has-tabindex': 2, 'jsx-a11y/aria-props': 2, 'jsx-a11y/aria-proptypes': 2, 'jsx-a11y/aria-role': 2, 'jsx-a11y/aria-unsupported-elements': 2, 'jsx-a11y/click-events-have-key-events': 2, 'jsx-a11y/heading-has-content': 2, 'jsx-a11y/html-has-lang': 2, 'jsx-a11y/iframe-has-title': 2, 'jsx-a11y/img-redundant-alt': 2, 'jsx-a11y/interactive-supports-focus': 'warn', 'jsx-a11y/label-has-for': 2, 'jsx-a11y/lang': 2, 'jsx-a11y/media-has-caption': 'warn', 'jsx-a11y/mouse-events-have-key-events': 2, 'jsx-a11y/no-access-key': 2, 'jsx-a11y/no-autofocus': 0, // I know what I'm doing... I think... 'jsx-a11y/no-distracting-elements': 2, 'jsx-a11y/no-interactive-element-to-noninteractive-role': 'warn', 'jsx-a11y/no-noninteractive-element-interactions': 'warn', 'jsx-a11y/no-noninteractive-element-to-interactive-role': 'warn', 'jsx-a11y/no-noninteractive-tabindex': 'off', 'jsx-a11y/no-onchange': 0, 'jsx-a11y/no-redundant-roles': 2, 'jsx-a11y/no-static-element-interactions': 0, 'jsx-a11y/role-has-required-aria-props': 2, 'jsx-a11y/role-supports-aria-props': 2, 'jsx-a11y/scope': 2, 'jsx-a11y/tabindex-no-positive': 1, }, }