Fix formatting check

This commit is contained in:
Jonathan Staab 2023-03-08 08:13:53 -06:00
parent 14a3eb5d86
commit da100bdf96
4 changed files with 3 additions and 6 deletions

View File

@ -2,5 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh" . "$(dirname -- "$0")/_/husky.sh"
npm run check npm run check
npm run format

View File

@ -9,6 +9,7 @@
"preview": "vite preview", "preview": "vite preview",
"check:es": "eslint src/*/** --quiet", "check:es": "eslint src/*/** --quiet",
"check:ts": "svelte-check --tsconfig ./tsconfig.json --threshold error", "check:ts": "svelte-check --tsconfig ./tsconfig.json --threshold error",
"check:fmt": "prettier --check '{public,src}/**/*.{css,html,js,svelte}'",
"check": "run-p check:*", "check": "run-p check:*",
"format": "prettier --write '{public,src}/**/*.{css,html,js,svelte}'", "format": "prettier --write '{public,src}/**/*.{css,html,js,svelte}'",
"watch": "find src -type f | entr -r" "watch": "find src -type f | entr -r"

View File

@ -31,8 +31,7 @@
<MessagesListItem {contact} /> <MessagesListItem {contact} />
{:else} {:else}
<Content size="lg" class="text-center"> <Content size="lg" class="text-center">
No messages found - start a conversation by clicking the envelope button on someone's No messages found - start a conversation by clicking the envelope button on someone's profile.
profile.
</Content> </Content>
{/each} {/each}
</Content> </Content>

View File

@ -32,7 +32,5 @@
Log in Log in
</Anchor> </Anchor>
</div> </div>
<p> <p>If you don't want to save your keys now, you can find them later in Coracle's settings.</p>
If you don't want to save your keys now, you can find them later in Coracle's settings.
</p>
</Content> </Content>