upgrade biome config

This commit is contained in:
dswbx
2025-11-07 09:39:02 +01:00
parent 4575d89cfe
commit de62f4e729
2 changed files with 20 additions and 21 deletions

1
.gitignore vendored
View File

@@ -28,6 +28,7 @@ packages/media/.env
/.verdaccio /.verdaccio
.idea .idea
.vscode .vscode
!.vscode/settings.json
.git_old .git_old
docker/tmp docker/tmp
.debug .debug

View File

@@ -1,14 +1,13 @@
{ {
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "$schema": "https://biomejs.dev/schemas/2.3.3/schema.json",
"organizeImports": { "assist": { "actions": { "source": { "organizeImports": "on" } } },
"enabled": true
},
"vcs": { "vcs": {
"defaultBranch": "main" "defaultBranch": "main"
}, },
"formatter": { "formatter": {
"enabled": true, "enabled": true,
"indentStyle": "space" "indentStyle": "space",
"formatWithErrors": true
}, },
"javascript": { "javascript": {
"formatter": { "formatter": {
@@ -30,27 +29,26 @@
} }
}, },
"files": { "files": {
"ignore": [ "includes": [
"**/node_modules/**", "**",
"node_modules/**", "!**/node_modules",
"**/.cache/**", "!**/node_modules",
"**/.wrangler/**", "!**/.cache",
"**/build/**", "!**/.wrangler",
"**/dist/**", "!**/build",
"**/data.sqld/**", "!**/dist",
"data.sqld/**", "!**/data.sqld",
"public/**", "!**/data.sqld",
".history/**" "!**/public",
"!**/.history"
] ]
}, },
"linter": { "linter": {
"enabled": true, "enabled": true,
"ignore": ["**/*.spec.ts"], "includes": ["**"],
"rules": { "rules": {
"recommended": true, "recommended": true,
"a11y": { "a11y": {},
"all": false
},
"correctness": { "correctness": {
"useExhaustiveDependencies": "off", "useExhaustiveDependencies": "off",
"noUnreachable": "warn", "noUnreachable": "warn",
@@ -70,7 +68,7 @@
"noArrayIndexKey": "off", "noArrayIndexKey": "off",
"noImplicitAnyLet": "warn", "noImplicitAnyLet": "warn",
"noConfusingVoidType": "off", "noConfusingVoidType": "off",
"noConsoleLog": "warn" "noConsole": { "level": "warn", "options": { "allow": ["log"] } }
}, },
"security": { "security": {
"noDangerouslySetInnerHtml": "off" "noDangerouslySetInnerHtml": "off"