Skip to content

Commit 71c9597

Browse files
committed
feat: remove duplicate prettier options already specified in editorconfig
1 parent 4500661 commit 71c9597

File tree

6 files changed

+8
-24
lines changed

6 files changed

+8
-24
lines changed

apps/app-frontend/src/components/ui/world/WorldItem.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,7 @@ const messages = defineMessages({
240240
/>
241241
<Tooltip :disabled="!hasPlayersTooltip">
242242
<span :class="{ 'cursor-help': hasPlayersTooltip }">
243-
{{
244-
formatNumber(serverStatus.players?.online, false)
245-
}}
243+
{{ formatNumber(serverStatus.players?.online, false) }}
246244
online
247245
</span>
248246
<template #popper>

apps/frontend/src/pages/admin/servers/notices.vue

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,7 @@
163163
</div>
164164
<div class="text-sm">
165165
<span v-if="notice.announce_at">
166-
{{
167-
dayjs(notice.announce_at).format('MMM D, YYYY [at] h:mm A')
168-
}}
166+
{{ dayjs(notice.announce_at).format('MMM D, YYYY [at] h:mm A') }}
169167
({{ formatRelativeTime(notice.announce_at) }})
170168
</span>
171169
<template v-else> Never begins </template>
@@ -248,16 +246,12 @@
248246
</span>
249247
<span v-else-if="!notice.assigned.some((n) => n.kind === 'node')">
250248
Assigned to
251-
{{
252-
notice.assigned.filter((n) => n.kind === 'server').length
253-
}}
249+
{{ notice.assigned.filter((n) => n.kind === 'server').length }}
254250
servers
255251
</span>
256252
<span v-else>
257253
Assigned to
258-
{{
259-
notice.assigned.filter((n) => n.kind === 'server').length
260-
}}
254+
{{ notice.assigned.filter((n) => n.kind === 'server').length }}
261255
servers and
262256
{{ notice.assigned.filter((n) => n.kind === 'node').length }} nodes
263257
</span>

apps/frontend/src/pages/dashboard/organizations.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@
3232
<div class="stats">
3333
<UsersIcon aria-hidden="true" />
3434
<span>
35-
{{
36-
onlyAcceptedMembers(org.members).length
37-
}}
35+
{{ onlyAcceptedMembers(org.members).length }}
3836
member<template
3937
v-if="onlyAcceptedMembers(org.members).length !== 1"
4038
>s</template

apps/frontend/src/pages/settings/billing/index.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,7 @@
274274
<div class="flex items-center gap-2">
275275
<CheckCircleIcon class="h-5 w-5 text-brand" />
276276
<span>
277-
{{
278-
getPyroProduct(subscription)?.metadata?.cpu / 2
279-
}}
277+
{{ getPyroProduct(subscription)?.metadata?.cpu / 2 }}
280278
Shared CPUs (Bursts up to
281279
{{ getPyroProduct(subscription)?.metadata?.cpu }} CPUs)
282280
</span>

packages/tooling-config/prettier.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
* @type {import("prettier").Config}
44
*/
55
const config = {
6-
printWidth: 100,
76
semi: false,
8-
singleQuote: true,
9-
endOfLine: 'auto'
7+
singleQuote: true,
108
};
119

1210
module.exports = config;

packages/ui/src/components/billing/PurchaseModal.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,7 @@
490490
>
491491
<br />
492492
You'll be charged
493-
{{
494-
formatPrice(locale, price.prices.intervals[selectedPlan], price.currency_code)
495-
}}
493+
{{ formatPrice(locale, price.prices.intervals[selectedPlan], price.currency_code) }}
496494
/ {{ selectedPlan }} plus applicable taxes starting
497495
{{ existingPlan ? dayjs(renewalDate).format('MMMM D, YYYY') : 'today' }}, until you
498496
cancel.

0 commit comments

Comments
 (0)