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.
44 lines
783 B
JSON
44 lines
783 B
JSON
{
|
|
"$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
|
|
}
|
|
}
|
|
} |