add biome

This commit is contained in:
BeauTroll
2026-01-19 18:01:31 +01:00
parent 0bea7bc3f4
commit ba8a46fcd3
2 changed files with 44 additions and 34 deletions

View File

@@ -1,34 +1,40 @@
{ {
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json", "$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"vcs": { "vcs": {
"enabled": true, "enabled": true,
"clientKind": "git", "clientKind": "git",
"useIgnoreFile": true "useIgnoreFile": true
}, },
"files": { "files": {
"ignoreUnknown": false "ignore": [
}, "node_modules",
"formatter": { ".output",
"enabled": true, "dist",
"indentStyle": "tab" "prisma/migrations",
}, "*.gen.ts"
"linter": { ]
"enabled": true, },
"rules": { "formatter": {
"recommended": true "enabled": true,
} "indentStyle": "tab"
}, },
"javascript": { "linter": {
"formatter": { "enabled": true,
"quoteStyle": "double" "rules": {
} "recommended": true
}, }
"assist": { },
"enabled": true, "javascript": {
"actions": { "formatter": {
"source": { "quoteStyle": "double"
"organizeImports": "on" }
} },
} "assist": {
} "enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
} }

View File

@@ -6,7 +6,10 @@
"dev": "vite dev --port 3000", "dev": "vite dev --port 3000",
"build": "vite build", "build": "vite build",
"preview": "vite preview", "preview": "vite preview",
"test": "vitest run" "test": "vitest run",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write ."
}, },
"dependencies": { "dependencies": {
"@prisma/client": "^7.2.0", "@prisma/client": "^7.2.0",
@@ -47,3 +50,4 @@
"web-vitals": "^5.1.0" "web-vitals": "^5.1.0"
} }
} }