fix(lint): replace non-existent qe-id with data-qe-id#543
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 <agilgur5@gmail.com>
|
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
lintwas erroring out:Unknown property 'qe-id' found react/no-unknown-propertyI'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-iddata-*attributes are the standardized way of persisting custom data to HTMLqe-idwas used for testing purposes in this repolintpassingVerification
lintpasses now