-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Bug]: no-unknown-property
false-positive without data-
prefix
#3712
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
# for free
to join this conversation on GitHub.
Already have an account?
# 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: