Skip to content
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

Extract linting rules into separate file #1104

Merged
merged 4 commits into from
Sep 4, 2023
Merged

Conversation

sarahsporck
Copy link
Contributor

Added rule prefer-template and use react-app/jest instead of jest/recommended and jest/style.

Copy link
Contributor

@f1sh1918 f1sh1918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Sometimes the tooltip doesn't disappear on chrome

@@ -16,7 +15,7 @@ const CreateCardsButtonBar = ({ cardBlueprints, generateCards, goBack }: CreateC
return (
<ButtonBar>
<Button icon='arrow-left' text='Zurück zur Auswahl' onClick={goBack} />
<Tooltip2
<Tooltip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did you switch to tooltip?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I only switched because the tests had problems at first, and I assumed it was related to the deprecated Tooltip2 component. I can change it back in this PR, but at some point we (again) might want to move away from deprecated components (-> #1001 )

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok i'm fine. dunno if the disappearing problem also occurs with tooltip2

Copy link
Contributor

@f1sh1918 f1sh1918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me

Copy link
Member

@steffenkleinle steffenkleinle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, not testd

@sarahsporck sarahsporck merged commit 6665314 into main Sep 4, 2023
2 checks passed
@sarahsporck sarahsporck deleted the extract-linting-rules branch September 4, 2023 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants