fix: resolved biome errors

This commit is contained in:
2025-07-13 20:12:17 +02:00
parent 42ad5b7c80
commit 6114e80e98
23 changed files with 7589 additions and 4180 deletions

View File

@ -8,14 +8,18 @@
"build:analyze": "ANALYZE=true next build",
"dev": "pnpm exec tsx server.ts",
"dev:next-only": "next dev --turbopack",
"format": "npx prettier --write .",
"format:check": "npx prettier --check .",
"format": "pnpm format:prettier && pnpm format:biome",
"format:check": "pnpm format:check-prettier && pnpm format:check-biome",
"format:biome": "biome format --write",
"format:check-biome": "biome format",
"format:prettier": "npx prettier --write .",
"format:check-prettier": "npx prettier --check .",
"lint": "next lint",
"lint:fix": "npx eslint --fix",
"biome:check": "biome check .",
"biome:fix": "biome check --write .",
"biome:format": "biome format --write .",
"biome:lint": "biome lint .",
"biome:check": "biome check",
"biome:fix": "biome check --write",
"biome:format": "biome format --write",
"biome:lint": "biome lint",
"prisma:generate": "prisma generate",
"prisma:migrate": "prisma migrate dev",
"prisma:seed": "pnpm exec tsx prisma/seed.ts",
@ -37,6 +41,8 @@
"test:csp:full": "pnpm test:csp && pnpm test:csp:validate && pnpm test:vitest tests/unit/enhanced-csp.test.ts tests/integration/csp-middleware.test.ts tests/integration/csp-report-endpoint.test.ts",
"lint:md": "markdownlint-cli2 \"**/*.md\" \"!.trunk/**\" \"!.venv/**\" \"!node_modules/**\"",
"lint:md:fix": "markdownlint-cli2 --fix \"**/*.md\" \"!.trunk/**\" \"!.venv/**\" \"!node_modules/**\"",
"lint:ci-warning": "biome ci --diagnostic-level=warn",
"lint:ci-error": "biome ci --diagnostic-level=error",
"migration:backup": "pnpm exec tsx scripts/migration/backup-database.ts full",
"migration:backup:schema": "pnpm exec tsx scripts/migration/backup-database.ts schema",
"migration:backup:data": "pnpm exec tsx scripts/migration/backup-database.ts data",