Repository navigation
Upgrade eslint - #158
Merged
Merged
Upgrade eslint#158
Conversation
Faustvii
requested changes
May 10, 2026
| const { loseStreak, results, winStreak } = latestPlayerResults || {}; | ||
| const streak = winStreak || loseStreak || undefined; | ||
| const { loseStreak, results, winStreak } = latestPlayerResults ?? {}; | ||
| const streak = winStreak ?? loseStreak ?? undefined; |
Owner
There was a problem hiding this comment.
Er dette korrekt..
Hvis winstreak er 0 og loseStreak er 3.. Så bliver din streak nu til 0 right?
Owner
Collaborator
Author
There was a problem hiding this comment.
Det er ikke korrekt, godt fanget. Jeg har nu omskrevet så latestPlayerResults slet ikke kan være null længere 👌
djonn
force-pushed
the
feat/upgrade-eslint
branch
from
May 10, 2026 16:04
dc2f7bc to
9ac61ea
Compare
Faustvii
approved these changes
May 11, 2026
djonn
force-pushed
the
feat/upgrade-eslint
branch
from
May 12, 2026 05:37
9ac61ea to
d2810a1
Compare
Collaborator
Author
Owner
Collaborator
Author
oh great, I was sure I had updated this to have a default image from seeding 🤔 anyway I confirmed its the same problem on the main branch, so out of scope for here :D (jeg ser en engelsk youtube video, så derfor skifter jeg lige sprog 😅 ) |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Jeg har længe haft en fejl med at eslint +9 krævede det nye flatpack format, selvom vi brugte 8.x.x. Så nu har jeg opdateret
Der var nogle template specifikke regler som jeg tror engang er blevet kopieret men som hvor de templates aldrig har eksisteret i vores projekt. Så har slettet det.
Vi ignorerede en fejl-type med en kommentar på at den ikke virkede ordentligt. Jeg tror den virker nu. Så vi ignorerer den ikke længere.
Kan du huske jeg har haft et problem hvor min PC formaterede koden lidt anderledes end vores CI tjek? Af en eller anden grund opfører min PC sig anderledes med denne opdatering af ESLint 🤷♀️