diff --git a/biome.json b/biome.json index a15a026..c22640c 100644 --- a/biome.json +++ b/biome.json @@ -1,15 +1,41 @@ { - "$schema": "https://biomejs.dev/schemas/1.7.3/schema.json", - "files": { - "ignore": [".vscode/", "node_modules/", "public/"] - }, - "organizeImports": { - "enabled": true - }, - "linter": { - "enabled": false, - "rules": { - "recommended": true - } - } + "$schema": "https://biomejs.dev/schemas/2.2.2/schema.json", + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true + }, + "files": { + "includes": ["**", "!public", "!content", "!templates", "!static/img", "!**/*.min.js"] + }, + "formatter": { + "enabled": true + }, + "linter": { + "enabled": true, + "rules": { + "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" + } + } }