feat: Add new biome configuration file

The commit introduces a new configuration file, biome.json, for managing imports, file inclusions, git features, linting rules, and formatting settings. This file defines settings for our project such as enabling organizing imports, specifying to include all TypeScript files in the src directory, enabling version control system using git, enabling linting with specific rules, and setting indents and line width for the formatter.
This commit is contained in:
Mathis H (Avnyr) 2024-05-13 09:39:45 +02:00
parent 806eb3e183
commit 407bc14082
Signed by: Mathis
GPG Key ID: DD9E0666A747D126

33
biome.json Normal file
View File

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