ci: merge biome configs to fix nested config error
Deploy to VPS / deploy (push) Failing after 1m28s

Root and services/frontend each had a biome.json causing Biome to
error on nested configuration. Merged frontend-specific rules and
domains (next, react) into root biome.json, removed nested config.
This commit is contained in:
asepharyana
2026-07-26 11:55:10 +07:00
parent a85c7da5ed
commit 42595a75f3
3 changed files with 40 additions and 80 deletions
+40 -2
View File
@@ -1,4 +1,10 @@
{
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": [
"src/**/*.ts",
@@ -11,7 +17,9 @@
"!vendor/**",
"!.claude/**",
"!services/**/dist/**",
"!packages/**/dist/**"
"!packages/**/dist/**",
"!services/**/.next/**",
"!services/**/out/**"
]
},
"formatter": {
@@ -22,10 +30,40 @@
"linter": {
"enabled": true,
"rules": {
"recommended": false,
"recommended": true,
"style": {
"noNonNullAssertion": "warn",
"useNodejsImportProtocol": "warn"
},
"suspicious": {
"noUnknownAtRules": "off",
"useIterableCallbackReturn": "off",
"noArrayIndexKey": "warn"
},
"a11y": {
"useButtonType": "off",
"noAutofocus": "off"
},
"performance": {
"noImgElement": "warn"
},
"security": {
"noDangerouslySetInnerHtml": "warn"
},
"correctness": {
"noInvalidUseBeforeDeclaration": "off",
"noUnusedFunctionParameters": "warn"
}
},
"domains": {
"next": "recommended",
"react": "recommended"
}
},
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
}