feat(config): add biome.json for project configuration

Create a new biome.json file to configure imports, VCS, linter, formatter, and JavaScript parser settings for the project. This setup standardizes code quality and formatting rules across the codebase.
This commit is contained in:
Mathis H (Avnyr) 2024-10-17 17:03:38 +02:00
parent bb5313b403
commit e0f7aad49b
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

44
biome.json Normal file
View File

@ -0,0 +1,44 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": true
},
"files": {
"include": [
"./apps/**/src/**/*.ts"
]
},
"vcs": {
"enabled": true,
"clientKind": "git"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"performance": {
"recommended": true,
"noDelete": "off"
},
"suspicious": {
"noExplicitAny": "warn"
},
"complexity": {
"useLiteralKeys": "off"
},
"style": {
"useImportType": "off"
}
}
},
"formatter": {
"indentStyle": "tab",
"indentWidth": 2,
"lineWidth": 80
},
"javascript": {
"parser": {
"unsafeParameterDecoratorsEnabled": true
}
}
}