declare const _default: { /** * Enforce all elements that require alternative text have meaningful information to relay back to end user. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/alt-text.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L21-L27 */ 'jsx-a11y/alt-text': "warn"; /** * Enforce `` text to not exactly match "click here", "here", "link", or "a link". * @description This rule is not included in `airbnb-base`. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/anchor-ambiguous-text.md */ 'jsx-a11y/anchor-ambiguous-text': "off"; /** * Enforce all anchors to contain accessible content. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/anchor-has-content.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L31 */ 'jsx-a11y/anchor-has-content': "warn"; /** * Enforce all anchors are valid, navigable elements. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/anchor-is-valid.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L35-L39 */ 'jsx-a11y/anchor-is-valid': ["warn", { components: string[]; specialLink: string[]; aspects: string[]; }]; /** * Enforce elements with `aria-activedescendant` are tabbable. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/aria-activedescendant-has-tabindex.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L43 */ 'jsx-a11y/aria-activedescendant-has-tabindex': "warn"; /** * Enforce all `aria-*` props are valid. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/aria-props.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L47 */ 'jsx-a11y/aria-props': "error"; /** * Enforce ARIA state and property values are valid. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/aria-proptypes.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L51 */ 'jsx-a11y/aria-proptypes': "error"; /** * Enforce that elements with ARIA roles must use a valid, non-abstract ARIA role. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/aria-role.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L55 */ 'jsx-a11y/aria-role': ["error", { ignoreNonDOM: boolean; }]; /** * Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/aria-unsupported-elements.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L60 */ 'jsx-a11y/aria-unsupported-elements': "error"; /** * Enforce that autocomplete attributes are used correctly. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/autocomplete-valid.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L64-L66 */ 'jsx-a11y/autocomplete-valid': "off"; /** * Enforce a clickable non-interactive element has at least one keyboard event listener. * @description I've set this rule to `'off'`. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/click-events-have-key-events.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L70 */ 'jsx-a11y/click-events-have-key-events': "off"; /** * Enforce that a control (an interactive element) has a text label. * @description I've set this rule to `'off'`. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/control-has-associated-label.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L74-L99 */ 'jsx-a11y/control-has-associated-label': "off"; /** * Enforce heading (`h1`, `h2`, etc) elements contain accessible content. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/heading-has-content.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L103 */ 'jsx-a11y/heading-has-content': "error"; /** * Enforce `` element has lang prop. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/html-has-lang.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L107 */ 'jsx-a11y/html-has-lang': "warn"; /** * Enforce iframe elements have a title attribute. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/iframe-has-title.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L111 */ 'jsx-a11y/iframe-has-title': "warn"; /** * Enforce `` alt prop does not contain the word "image", "picture", or "photo". * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/img-redundant-alt.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L115 */ 'jsx-a11y/img-redundant-alt': "warn"; /** * Enforce that elements with interactive handlers like `onClick` must be focusable. * @description I've set this rule to `'off'`. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/interactive-supports-focus.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L119 */ 'jsx-a11y/interactive-supports-focus': "off"; /** * Enforce that a `label` tag has a text label and an associated control. * @description I've set this rule to `'off'`. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/label-has-associated-control.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L123-L129 */ 'jsx-a11y/label-has-associated-control': "off"; /** * Enforce `lang` attribute has a valid value. * @see https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/lang.md * @see https://github.com/airbnb/javascript/blob/eslint-config-airbnb-v19.0.4/packages/eslint-config-airbnb/rules/react-a11y.js#L133 */ 'jsx-a11y/lang': "error"; /** * Enforces that `