From d2b9acb70fc29a0fa59c45e9f3d66d4346d23818 Mon Sep 17 00:00:00 2001 From: whoswhip Date: Tue, 10 Feb 2026 17:07:22 -0500 Subject: [PATCH] style: format via prettier --- SharpbinV3.Client/README.md | 2 +- SharpbinV3.Client/src/lib/consts.ts | 8 ++++---- SharpbinV3.Client/src/routes/stats/+page.svelte | 7 ++++++- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/SharpbinV3.Client/README.md b/SharpbinV3.Client/README.md index 3c94b89..a0ebabe 100644 --- a/SharpbinV3.Client/README.md +++ b/SharpbinV3.Client/README.md @@ -42,4 +42,4 @@ The frontend will be available at http://localhost:5173. - `npm run preview`: Locally preview the production build. - `npm run check`: Run type checking with svelte-check. - `npm run lint`: Run ESLint and Prettier checks. -- `npm run format`: Format the codebase with Prettier. \ No newline at end of file +- `npm run format`: Format the codebase with Prettier. diff --git a/SharpbinV3.Client/src/lib/consts.ts b/SharpbinV3.Client/src/lib/consts.ts index 321dbfc..4691f9d 100644 --- a/SharpbinV3.Client/src/lib/consts.ts +++ b/SharpbinV3.Client/src/lib/consts.ts @@ -32,13 +32,13 @@ export const syntaxes: Record = { csharp: { name: 'C#', extension: 'cs' }, cal: { name: 'C/AL', extension: '' }, cos: { name: 'Cache Object Script', extension: '' }, - capnproto: { name: 'Cap\'n Proto', extension: 'capnp' }, + capnproto: { name: "Cap'n Proto", extension: 'capnp' }, clojure: { name: 'Clojure', extension: 'clj' }, cmake: { name: 'CMake', extension: 'cmake' }, coffeescript: { name: 'CoffeeScript', extension: 'coffee' }, coq: { name: 'Coq', extension: 'v' }, crmsh: { name: 'CRMsH', extension: '' }, - crystal : { name: 'Crystal', extension: 'cr' }, + crystal: { name: 'Crystal', extension: 'cr' }, csp: { name: 'CSP', extension: 'csp' }, css: { name: 'CSS', extension: 'css' }, d: { name: 'D', extension: 'd' }, @@ -62,9 +62,9 @@ export const syntaxes: Record = { fix: { name: 'FIX', extension: 'fix' }, flix: { name: 'Flix', extension: 'flix' }, fortran: { name: 'Fortran', extension: 'f90' }, - gcode : { name: 'G-code', extension: 'gcode' }, + gcode: { name: 'G-code', extension: 'gcode' }, gams: { name: 'GAMS', extension: 'gms' }, - gauss : { name: 'GAUSS', extension: 'gss' }, + gauss: { name: 'GAUSS', extension: 'gss' }, gherkin: { name: 'Gherkin', extension: '' }, go: { name: 'Go', extension: 'go' }, golo: { name: 'Golo', extension: 'golo' }, diff --git a/SharpbinV3.Client/src/routes/stats/+page.svelte b/SharpbinV3.Client/src/routes/stats/+page.svelte index cc93a4a..fa762c2 100644 --- a/SharpbinV3.Client/src/routes/stats/+page.svelte +++ b/SharpbinV3.Client/src/routes/stats/+page.svelte @@ -72,7 +72,12 @@

Total Storage Used

-

{formatBytes(stats.pastes.totalSizeInBytes)}

+

+ {formatBytes(stats.pastes.totalSizeInBytes)} +