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:
parent
806eb3e183
commit
407bc14082
33
biome.json
Normal file
33
biome.json
Normal 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
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user