chore(biome.json): update biome configuration to version 2.2.2 with enhanced settings for linter and formatter

This commit is contained in:
2025-08-27 18:09:58 +02:00
parent dbbb3db646
commit 1dfdcd271c

View File

@@ -1,15 +1,41 @@
{ {
"$schema": "https://biomejs.dev/schemas/1.7.3/schema.json", "$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
"files": { "vcs": {
"ignore": [".vscode/", "node_modules/", "public/"] "enabled": true,
"clientKind": "git",
"useIgnoreFile": true
}, },
"organizeImports": { "files": {
"includes": ["**", "!public", "!content", "!templates", "!static/img", "!**/*.min.js"]
},
"formatter": {
"enabled": true "enabled": true
}, },
"linter": { "linter": {
"enabled": false, "enabled": true,
"rules": { "rules": {
"recommended": true "recommended": true
} }
},
"javascript": {
"formatter": {
"lineWidth": 100,
"quoteStyle": "double",
"jsxQuoteStyle": "double",
"trailingCommas": "all",
"semicolons": "always"
}
},
"json": {
"formatter": {
"lineWidth": 100
}
},
"css": {
"formatter": {
"enabled": true,
"lineWidth": 100,
"quoteStyle": "single"
}
} }
} }