Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

img-uses-alt rule reports false positive when using elements with dots #1

Closed
EvHaus opened this issue Mar 24, 2016 · 1 comment
Closed
Assignees
Labels

Comments

@EvHaus
Copy link
Contributor

EvHaus commented Mar 24, 2016

The following code:

<UX.Layout>
    test
</UX.Layout>

Reports the following error:

undefined elements must have an alt tag

It appears that when you use JSX components with a . in the name, it gets picked up by the rule.

@beefancohen beefancohen self-assigned this Mar 24, 2016
@beefancohen
Copy link
Contributor

@globexdesigns thanks for reporting! Should be fixed with v0.4.2 - let me know if issue still exists

uncommon-type pushed a commit to uncommon-type/eslint-plugin-jsx-a11y that referenced this issue Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants