Skip to content

Add ignoreNonDOM to jsx-a11y/no-autofocus #56

Description

@thayannevls

What is to be discussed?
At Styleguide we implement components with the autoFocus feature without using the native HTML attribute. So it's safe to ignore this rule for components created by developers.

Describe the solution you'd like
Add this argument to the de jsx-a11y/no-autofocus rule.

How we do this today?
We are ignoring this rule to be able to use the autoFocus property of our components.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions