mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 11:26:13 +08:00
chore: upgrade to prettier 3.7
This commit is contained in:
parent
d18408700b
commit
5f305735de
5 changed files with 24 additions and 25 deletions
3
backend/__tests__/vitest.d.ts
vendored
3
backend/__tests__/vitest.d.ts
vendored
|
|
@ -21,8 +21,7 @@ interface ThrowMatcher {
|
|||
declare module "vitest" {
|
||||
interface Assertion<T = any> extends RestRequestMatcher<T>, ThrowMatcher {}
|
||||
interface AsymmetricMatchersContaining
|
||||
extends RestRequestMatcher,
|
||||
ThrowMatcher {}
|
||||
extends RestRequestMatcher, ThrowMatcher {}
|
||||
}
|
||||
|
||||
interface MatcherResult {
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
id="startTestButton"
|
||||
class="textButton view-start"
|
||||
href="/"
|
||||
onclick="this.blur();"
|
||||
onclick="this.blur()"
|
||||
router-link
|
||||
title="start test"
|
||||
>
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
<a
|
||||
class="textButton view-leaderboards"
|
||||
href="/leaderboards"
|
||||
onclick="this.blur();"
|
||||
onclick="this.blur()"
|
||||
router-link
|
||||
title="leaderboards"
|
||||
>
|
||||
|
|
@ -81,7 +81,7 @@
|
|||
<a
|
||||
class="textButton view-about"
|
||||
href="/about"
|
||||
onclick="this.blur();"
|
||||
onclick="this.blur()"
|
||||
router-link
|
||||
title="about"
|
||||
>
|
||||
|
|
@ -103,7 +103,7 @@
|
|||
<a
|
||||
class="textButton view-settings"
|
||||
href="/settings"
|
||||
onclick="this.blur();"
|
||||
onclick="this.blur()"
|
||||
router-link
|
||||
title="settings"
|
||||
>
|
||||
|
|
@ -112,7 +112,7 @@
|
|||
</div>
|
||||
</a>
|
||||
<div></div>
|
||||
<button class="text showAlerts" onclick="this.blur();">
|
||||
<button class="text showAlerts" onclick="this.blur()">
|
||||
<div class="icon">
|
||||
<i class="fas fa-fw fa-bell"></i>
|
||||
</div>
|
||||
|
|
@ -121,7 +121,7 @@
|
|||
<a
|
||||
class="textButton view-login"
|
||||
href="/login"
|
||||
onclick="this.blur();"
|
||||
onclick="this.blur()"
|
||||
router-link
|
||||
>
|
||||
<i class="far fa-fw fa-user"></i>
|
||||
|
|
@ -130,7 +130,7 @@
|
|||
<a
|
||||
class="textButton view-account"
|
||||
href="/account"
|
||||
onclick="this.blur();"
|
||||
onclick="this.blur()"
|
||||
router-link
|
||||
>
|
||||
<div class="spinner">
|
||||
|
|
@ -154,14 +154,14 @@
|
|||
<div class="menu">
|
||||
<div class="spacer"></div>
|
||||
<div class="items">
|
||||
<a href="/account" class="button" onclick="this.blur();" router-link>
|
||||
<a href="/account" class="button" onclick="this.blur()" router-link>
|
||||
<i class="fas fa-fw fa-chart-line"></i>
|
||||
User stats
|
||||
</a>
|
||||
<a
|
||||
href="/friends"
|
||||
class="button goToFriends"
|
||||
onclick="this.blur();"
|
||||
onclick="this.blur()"
|
||||
router-link
|
||||
>
|
||||
<i class="fas fa-fw fa-user-friends"></i>
|
||||
|
|
@ -171,7 +171,7 @@
|
|||
<a
|
||||
href="/404"
|
||||
class="button goToProfile"
|
||||
onclick="this.blur();"
|
||||
onclick="this.blur()"
|
||||
router-link
|
||||
>
|
||||
<i class="fas fa-fw fa-globe-americas"></i>
|
||||
|
|
@ -180,13 +180,13 @@
|
|||
<a
|
||||
href="/account-settings"
|
||||
class="button"
|
||||
onclick="this.blur();"
|
||||
onclick="this.blur()"
|
||||
router-link
|
||||
>
|
||||
<i class="fas fa-fw fa-cog"></i>
|
||||
Account settings
|
||||
</a>
|
||||
<button class="signOut" onclick="this.blur();">
|
||||
<button class="signOut" onclick="this.blur()">
|
||||
<i class="fas fa-fw fa-sign-out-alt"></i>
|
||||
Sign out
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -355,7 +355,7 @@
|
|||
especially for delivering ads to iOS and MacOS browsers. Users can opt
|
||||
out of the Common ID tracking cookie by clicking
|
||||
<a
|
||||
onclick="window.setCookie('_pubcid_optout', '1', 1825);"
|
||||
onclick="window.setCookie('_pubcid_optout', '1', 1825)"
|
||||
href="#opt-out"
|
||||
>
|
||||
here
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
"lint-staged": "13.2.3",
|
||||
"only-allow": "1.2.1",
|
||||
"oxlint": "1.29.0",
|
||||
"prettier": "3.6.2",
|
||||
"prettier": "3.7.1",
|
||||
"turbo": "2.5.6",
|
||||
"vitest": "4.0.8"
|
||||
},
|
||||
|
|
|
|||
18
pnpm-lock.yaml
generated
18
pnpm-lock.yaml
generated
|
|
@ -42,8 +42,8 @@ importers:
|
|||
specifier: 1.29.0
|
||||
version: 1.29.0
|
||||
prettier:
|
||||
specifier: 3.6.2
|
||||
version: 3.6.2
|
||||
specifier: 3.7.1
|
||||
version: 3.7.1
|
||||
turbo:
|
||||
specifier: 2.5.6
|
||||
version: 2.5.6
|
||||
|
|
@ -4862,8 +4862,8 @@ packages:
|
|||
electron-to-chromium@1.5.144:
|
||||
resolution: {integrity: sha512-eJIaMRKeAzxfBSxtjYnoIAw/tdD6VIH6tHBZepZnAbE3Gyqqs5mGN87DvcldPUbVkIljTK8pY0CMcUljP64lfQ==}
|
||||
|
||||
electron-to-chromium@1.5.261:
|
||||
resolution: {integrity: sha512-cmyHEWFqEt3ICUNF93ShneOF47DHoSDbLb7E/AonsWcbzg95N+kPXeLNfkdzgTT/vEUcoW76fxbLBkeYtfoM8A==}
|
||||
electron-to-chromium@1.5.262:
|
||||
resolution: {integrity: sha512-NlAsMteRHek05jRUxUR0a5jpjYq9ykk6+kO0yRaMi5moe7u0fVIOeQ3Y30A8dIiWFBNUoQGi1ljb1i5VtS9WQQ==}
|
||||
|
||||
electron-to-chromium@1.5.5:
|
||||
resolution: {integrity: sha512-QR7/A7ZkMS8tZuoftC/jfqNkZLQO779SSW3YuZHP4eXpj3EffGLFcB/Xu9AAZQzLccTiCV+EmUo3ha4mQ9wnlA==}
|
||||
|
|
@ -7810,8 +7810,8 @@ packages:
|
|||
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
|
||||
engines: {node: '>= 0.8.0'}
|
||||
|
||||
prettier@3.6.2:
|
||||
resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==}
|
||||
prettier@3.7.1:
|
||||
resolution: {integrity: sha512-RWKXE4qB3u5Z6yz7omJkjWwmTfLdcbv44jUVHC5NpfXwFGzvpQM798FGv/6WNK879tc+Cn0AAyherCl1KjbyZQ==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
|
||||
|
|
@ -13566,7 +13566,7 @@ snapshots:
|
|||
dependencies:
|
||||
baseline-browser-mapping: 2.8.31
|
||||
caniuse-lite: 1.0.30001757
|
||||
electron-to-chromium: 1.5.261
|
||||
electron-to-chromium: 1.5.262
|
||||
node-releases: 2.0.27
|
||||
update-browserslist-db: 1.1.4(browserslist@4.28.0)
|
||||
|
||||
|
|
@ -14544,7 +14544,7 @@ snapshots:
|
|||
|
||||
electron-to-chromium@1.5.144: {}
|
||||
|
||||
electron-to-chromium@1.5.261: {}
|
||||
electron-to-chromium@1.5.262: {}
|
||||
|
||||
electron-to-chromium@1.5.5: {}
|
||||
|
||||
|
|
@ -18265,7 +18265,7 @@ snapshots:
|
|||
|
||||
prelude-ls@1.2.1: {}
|
||||
|
||||
prettier@3.6.2: {}
|
||||
prettier@3.7.1: {}
|
||||
|
||||
pretty-bytes@5.6.0: {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue