From 72d0cbb37bf3250f17d0e278a95f03b1392d6295 Mon Sep 17 00:00:00 2001 From: dakrk Date: Fri, 5 Apr 2024 17:16:20 +0100 Subject: [PATCH 1/4] Fix indentation (consistent formatting CHALLENGE) You people have a prettierrc yet never run prettier tabs or spaces. WHICH IS IT 2 width or 4 width WHICH IS IT (i'd make index.html 4 width tab but there's more that uses space there) --- Config.ts | 26 +++--- src/html/index.html | 128 +++++++++++++++--------------- src/ts/StringLike.ts | 3 +- src/ts/i18n.ts | 6 +- src/ts/main.ts | 2 +- src/ts/protocol/CollabVMClient.ts | 2 +- src/ts/protocol/Permissions.ts | 6 +- src/ts/tests/format.test.ts | 2 +- static/lang/languages.json | 2 +- 9 files changed, 88 insertions(+), 89 deletions(-) diff --git a/Config.ts b/Config.ts index 439af6b..f751f99 100644 --- a/Config.ts +++ b/Config.ts @@ -1,14 +1,14 @@ export const Config = { - ChatSound: "//computernewb.com/collab-vm/notify.ogg", - ServerAddresses: [ - "wss://computernewb.com/collab-vm/vm0", - "wss://computernewb.com/collab-vm/vm1", - "wss://computernewb.com/collab-vm/vm2", - "wss://computernewb.com/collab-vm/vm3", - "wss://computernewb.com/collab-vm/vm4", - "wss://computernewb.com/collab-vm/vm5", - "wss://computernewb.com/collab-vm/vm6", - "wss://computernewb.com/collab-vm/vm7", - "wss://computernewb.com/collab-vm/vm8", - ] -} \ No newline at end of file + ChatSound: '//computernewb.com/collab-vm/notify.ogg', + ServerAddresses: [ + 'wss://computernewb.com/collab-vm/vm0', + 'wss://computernewb.com/collab-vm/vm1', + 'wss://computernewb.com/collab-vm/vm2', + 'wss://computernewb.com/collab-vm/vm3', + 'wss://computernewb.com/collab-vm/vm4', + 'wss://computernewb.com/collab-vm/vm5', + 'wss://computernewb.com/collab-vm/vm6', + 'wss://computernewb.com/collab-vm/vm7', + 'wss://computernewb.com/collab-vm/vm8' + ] +}; diff --git a/src/html/index.html b/src/html/index.html index e3a7d4d..de8809c 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -35,51 +35,51 @@ - + +