Skip to content

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

@EvHaus

Description

@EvHaus

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions