chore: Исправлен конфиг biome, добавлено правило для отслеживания необъявленных переменных
Build and push / build (push) Skipped
Build and push / build (pull_request) Successful in 36s
Build and push / build (push) Skipped
Build and push / build (pull_request) Successful in 36s
This commit is contained in:
+10
-1
@@ -3,8 +3,17 @@
|
|||||||
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
|
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
|
||||||
"files": { "includes": ["src/**/*", "*.js", "*.json"] },
|
"files": { "includes": ["src/**/*", "*.js", "*.json"] },
|
||||||
"formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2, "lineWidth": 120 },
|
"formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2, "lineWidth": 120 },
|
||||||
"linter": { "enabled": true, "rules": { "preset": "recommended" } },
|
"linter": {
|
||||||
|
"enabled": true,
|
||||||
|
"rules": {
|
||||||
|
"recommended": true,
|
||||||
|
"correctness": {
|
||||||
|
"noUndeclaredVariables": "error"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"javascript": {
|
"javascript": {
|
||||||
|
"globals": ["describe", "it", "expect"],
|
||||||
"formatter": {
|
"formatter": {
|
||||||
"quoteStyle": "single",
|
"quoteStyle": "single",
|
||||||
"semicolons": "always",
|
"semicolons": "always",
|
||||||
|
|||||||
Reference in New Issue
Block a user