-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[Bug]: no-unknown-property
false-positive without data-
prefix
#3712
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
Labels
Comments
no-unknown-property
false-positive with camel caseno-unknown-property
false-positive without data-
prefix
silverwind
added a commit
to silverwind/eslint-plugin-react
that referenced
this issue
Mar 15, 2024
silverwind
added a commit
to silverwind/eslint-plugin-react
that referenced
this issue
Mar 15, 2024
silverwind
added a commit
to silverwind/eslint-plugin-react
that referenced
this issue
Mar 15, 2024
silverwind
added a commit
to silverwind/eslint-plugin-react
that referenced
this issue
Mar 15, 2024
silverwind
added a commit
to silverwind/eslint-plugin-react
that referenced
this issue
Mar 15, 2024
silverwind
added a commit
to silverwind/eslint-plugin-react
that referenced
this issue
Mar 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Description Overview
Raises false positive:
Expected Behavior
No error because
dataKey
doesn't start withdata-
. The rule docs specifically mentions that it's only checkingdata-*
attributes, e.g. with the-
.eslint-plugin-react version
v7.34.0
eslint version
v8.57.0
node version
v21.7.1
The text was updated successfully, but these errors were encountered: