Closed
Description
Related to #3380
I'm seeing the following errors in my project:
Unknown property 'onToggle' found
<details>
supports onToggle
.
Invalid property 'fill' found on tag 'path', but it is only allowed on: svg
<path>
supports fill
.
Unknown property 'as' found
<link>
supports as
.
Edit: It looks like there are even more valid use cases that this rule is not covering. I'd suggest reverting the changes to the no-unknown-property
rule for v7 and releasing it under a new major version. React Known Props can be used to get all the known props, and users can use the ignore
option on the rule to add other props like css
.
Metadata
Metadata
Assignees
Labels
No labels