Make Biome fail on warnings

This commit is contained in:
Kalle
2026-03-22 21:02:12 +02:00
parent b7318c8070
commit 33b83db577

View File

@@ -17,9 +17,9 @@
"check-homemade-badges": "node --experimental-strip-types scripts/check-homemade-badges.ts",
"check-articles": "tsx scripts/check-articles.ts",
"refresh-prod-db": "node --experimental-strip-types scripts/refresh-prod-db.ts && npm run migrate:prod",
"biome:check": "npx @biomejs/biome check .",
"biome:fix": "npx @biomejs/biome check --write .",
"biome:fix:unsafe": "npx @biomejs/biome check --write --unsafe .",
"biome:check": "npx @biomejs/biome --error-on-warnings check .",
"biome:fix": "npx @biomejs/biome check --error-on-warnings --write .",
"biome:fix:unsafe": "npx @biomejs/biome check --error-on-warnings --write --unsafe .",
"typecheck": "react-router typegen && tsc --noEmit",
"test:unit:browser": "cross-env VITE_SITE_DOMAIN=http://localhost:5173 BROWSER_HEADLESS=true vitest --silent=passed-only run",
"test:browser:ui": "cross-env VITE_SITE_DOMAIN=http://localhost:5173 vitest --silent=passed-only --project browser",