-
Notifications
You must be signed in to change notification settings - Fork 182
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
fix(lint): replace non-existent qe-id
with data-qe-id
#543
base: master
Are you sure you want to change the base?
Conversation
- `lint` was erroring out: `Unknown property 'qe-id' found react/no-unknown-property` - [`data-*` attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*) are the standardized way of persisting custom data to HTML - `qe-id` was used for testing purposes in this repo - this type of test is no longer standard, particularly in React, but for now I just renamed it to get `lint` passing Signed-off-by: Anton Gilgur <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well that's surprising, |
Even more confusingly, CD's Application List uses the This seems unrelated to me as such, was there another change to |
This comment was marked as resolved.
This comment was marked as resolved.
Figured out that was due to an accidental ESLint upgrade in #534's So this is no longer needed but may be if ESLint is upgraded. Kicking this back to draft due to the above issue then. |
Motivation
lint
was erroring out:Unknown property 'qe-id' found react/no-unknown-property
I'm not sure why it didn't pop up during #509 though... It's also only popping up on certain PRs for some reason, but not all of them. Like it pops up on #534 but not #536, despite neither of them changing any source codeEDIT: See below comment, this happens on newer versions of ESLintModifications
qe-id
->data-qe-id
data-*
attributes are the standardized way of persisting custom data to HTMLqe-id
was used for testing purposes in this repolint
passingVerification
lint
passes now