A discord bot for teal.fm
discord tealfm music

format config

besaid.zone 1c4ba171 c108300b

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