chore: Установка и базовая настройка biome для линтинга и форматирования

This commit is contained in:
Ilia Mashkov
2026-07-14 19:54:19 +03:00
parent 5196a4936b
commit 06b08ed24d
4 changed files with 111 additions and 1 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"$schema": "https://biomejs.dev/schemas/2.5.3/schema.json",
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
"files": { "includes": ["src/**/*", "*.js", "*.json"] },
"formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2, "lineWidth": 120 },
"linter": { "enabled": true, "rules": { "preset": "recommended" } },
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "always",
"trailingCommas": "all"
}
}
}