refactor: cleanup struct fields, resolve clippy lints, resolve/ignore svelte lints, checks error on warn

This commit is contained in:
2026-01-14 22:55:40 -06:00
parent e83133cfcc
commit 89e1ab097d
50 changed files with 276 additions and 1114 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ check:
const checks = [
{ name: "prettier", cmd: ["bun", "run", "--cwd", "web", "format:check"] },
{ name: "eslint", cmd: ["bun", "run", "--cwd", "web", "lint"] },
{ name: "svelte-check", cmd: ["bun", "run", "--cwd", "web", "check"] },
{ name: "clippy", cmd: ["cargo", "clippy", "--all-targets"] },
{ name: "svelte-check", cmd: ["bun", "run", "--cwd", "web", "check", "--fail-on-warnings"] },
{ name: "clippy", cmd: ["cargo", "clippy", "--all-targets", "--", "-D", "warnings"] },
{ name: "sqlx-prepare", cmd: ["cargo", "sqlx", "prepare", "--check"] },
{ name: "rustfmt", cmd: ["cargo", "fmt", "--check"] },
];