mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
style: format via prettier
This commit is contained in:
@@ -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.
|
||||
- `npm run format`: Format the codebase with Prettier.
|
||||
|
||||
@@ -32,13 +32,13 @@ export const syntaxes: Record<string, Syntax> = {
|
||||
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<string, Syntax> = {
|
||||
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' },
|
||||
|
||||
@@ -72,7 +72,12 @@
|
||||
</div>
|
||||
<div>
|
||||
<p class="text-sm text-neutral-400">Total Storage Used</p>
|
||||
<p class="text-2xl font-bold" use:tooltip={[formatBytes(stats.pastes.trueTotalSizeInBytes), true]}>{formatBytes(stats.pastes.totalSizeInBytes)}</p>
|
||||
<p
|
||||
class="text-2xl font-bold"
|
||||
use:tooltip={[formatBytes(stats.pastes.trueTotalSizeInBytes), true]}
|
||||
>
|
||||
{formatBytes(stats.pastes.totalSizeInBytes)}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center space-x-4 rounded-lg bg-neutral-800 p-4">
|
||||
|
||||
Reference in New Issue
Block a user