Skip to content

Commit 5f30573

Browse files
committed
chore: upgrade to prettier 3.7
1 parent d184087 commit 5f30573

File tree

5 files changed

+24
-25
lines changed

5 files changed

+24
-25
lines changed

backend/__tests__/vitest.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ interface ThrowMatcher {
2121
declare module "vitest" {
2222
interface Assertion<T = any> extends RestRequestMatcher<T>, ThrowMatcher {}
2323
interface AsymmetricMatchersContaining
24-
extends RestRequestMatcher,
25-
ThrowMatcher {}
24+
extends RestRequestMatcher, ThrowMatcher {}
2625
}
2726

2827
interface MatcherResult {

frontend/src/html/header.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ <h1 class="text">
5050
id="startTestButton"
5151
class="textButton view-start"
5252
href="/"
53-
onclick="this.blur();"
53+
onclick="this.blur()"
5454
router-link
5555
title="start test"
5656
>
@@ -70,7 +70,7 @@ <h1 class="text">
7070
<a
7171
class="textButton view-leaderboards"
7272
href="/leaderboards"
73-
onclick="this.blur();"
73+
onclick="this.blur()"
7474
router-link
7575
title="leaderboards"
7676
>
@@ -81,7 +81,7 @@ <h1 class="text">
8181
<a
8282
class="textButton view-about"
8383
href="/about"
84-
onclick="this.blur();"
84+
onclick="this.blur()"
8585
router-link
8686
title="about"
8787
>
@@ -103,7 +103,7 @@ <h1 class="text">
103103
<a
104104
class="textButton view-settings"
105105
href="/settings"
106-
onclick="this.blur();"
106+
onclick="this.blur()"
107107
router-link
108108
title="settings"
109109
>
@@ -112,7 +112,7 @@ <h1 class="text">
112112
</div>
113113
</a>
114114
<div></div>
115-
<button class="text showAlerts" onclick="this.blur();">
115+
<button class="text showAlerts" onclick="this.blur()">
116116
<div class="icon">
117117
<i class="fas fa-fw fa-bell"></i>
118118
</div>
@@ -121,7 +121,7 @@ <h1 class="text">
121121
<a
122122
class="textButton view-login"
123123
href="/login"
124-
onclick="this.blur();"
124+
onclick="this.blur()"
125125
router-link
126126
>
127127
<i class="far fa-fw fa-user"></i>
@@ -130,7 +130,7 @@ <h1 class="text">
130130
<a
131131
class="textButton view-account"
132132
href="/account"
133-
onclick="this.blur();"
133+
onclick="this.blur()"
134134
router-link
135135
>
136136
<div class="spinner">
@@ -154,14 +154,14 @@ <h1 class="text">
154154
<div class="menu">
155155
<div class="spacer"></div>
156156
<div class="items">
157-
<a href="/account" class="button" onclick="this.blur();" router-link>
157+
<a href="/account" class="button" onclick="this.blur()" router-link>
158158
<i class="fas fa-fw fa-chart-line"></i>
159159
User stats
160160
</a>
161161
<a
162162
href="/friends"
163163
class="button goToFriends"
164-
onclick="this.blur();"
164+
onclick="this.blur()"
165165
router-link
166166
>
167167
<i class="fas fa-fw fa-user-friends"></i>
@@ -171,7 +171,7 @@ <h1 class="text">
171171
<a
172172
href="/404"
173173
class="button goToProfile"
174-
onclick="this.blur();"
174+
onclick="this.blur()"
175175
router-link
176176
>
177177
<i class="fas fa-fw fa-globe-americas"></i>
@@ -180,13 +180,13 @@ <h1 class="text">
180180
<a
181181
href="/account-settings"
182182
class="button"
183-
onclick="this.blur();"
183+
onclick="this.blur()"
184184
router-link
185185
>
186186
<i class="fas fa-fw fa-cog"></i>
187187
Account settings
188188
</a>
189-
<button class="signOut" onclick="this.blur();">
189+
<button class="signOut" onclick="this.blur()">
190190
<i class="fas fa-fw fa-sign-out-alt"></i>
191191
Sign out
192192
</button>

frontend/src/privacy-policy.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ <h1 id="Advertisements">Advertisements</h1>
355355
especially for delivering ads to iOS and MacOS browsers. Users can opt
356356
out of the Common ID tracking cookie by clicking
357357
<a
358-
onclick="window.setCookie('_pubcid_optout', '1', 1825);"
358+
onclick="window.setCookie('_pubcid_optout', '1', 1825)"
359359
href="#opt-out"
360360
>
361361
here

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"lint-staged": "13.2.3",
7676
"only-allow": "1.2.1",
7777
"oxlint": "1.29.0",
78-
"prettier": "3.6.2",
78+
"prettier": "3.7.1",
7979
"turbo": "2.5.6",
8080
"vitest": "4.0.8"
8181
},

pnpm-lock.yaml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)