A discord bot for teal.fm
discord tealfm music

format config

besaid.zone 1c4ba171 c108300b

verified
+4 -1
.oxfmtrc.json
··· 1 { 2 "$schema": "./node_modules/oxfmt/configuration_schema.json", 3 - "ignorePatterns": [] 4 }
··· 1 { 2 "$schema": "./node_modules/oxfmt/configuration_schema.json", 3 + "ignorePatterns": ["*.json", "pnpm-lock.yml"], 4 + "experimentalSortImports": { 5 + "order": "asc" 6 + } 7 }
+4 -4
apps/web/index.ts
··· 1 import { Hono } from "hono"; 2 - import {serve, type HttpBindings} from "@hono/node-server" 3 4 - const app = new Hono<{Bindings: HttpBindings}>(); 5 6 app.get("/", (c) => { 7 return c.text("yo!!"); ··· 9 10 serve({ 11 fetch: app.fetch, 12 - port: 8002 13 - })
··· 1 import { Hono } from "hono"; 2 + import { serve, type HttpBindings } from "@hono/node-server"; 3 4 + const app = new Hono<{ Bindings: HttpBindings }>(); 5 6 app.get("/", (c) => { 7 return c.text("yo!!"); ··· 9 10 serve({ 11 fetch: app.fetch, 12 + port: 8002, 13 + });
+1 -3
apps/web/tsconfig.json
··· 5 "target": "ESNext", 6 "module": "ESNext", 7 "moduleResolution": "bundler", 8 - "lib": [ 9 - "ESNext" 10 - ], 11 }, 12 "exclude": ["node_modules"] 13 }
··· 5 "target": "ESNext", 6 "module": "ESNext", 7 "moduleResolution": "bundler", 8 + "lib": ["ESNext"] 9 }, 10 "exclude": ["node_modules"] 11 }
+1 -1
package.json
··· 18 "dev:all": "pnpm --filter './apps/**' dev", 19 "typecheck": "pnpm --filter './apps/**' typecheck", 20 "lint": "oxlint", 21 - "format": "oxfmt" 22 }, 23 "devDependencies": { 24 "lefthook": "^2.0.13",
··· 18 "dev:all": "pnpm --filter './apps/**' dev", 19 "typecheck": "pnpm --filter './apps/**' typecheck", 20 "lint": "oxlint", 21 + "format": "oxfmt --no-error-on-unmatched-pattern" 22 }, 23 "devDependencies": { 24 "lefthook": "^2.0.13",