Hoist up the biome config and use it for syn2mas

This commit is contained in:
Quentin Gliech
2024-10-22 13:48:03 +02:00
parent 1ad2ecb38d
commit 0061c258d1
26 changed files with 273 additions and 4765 deletions

35
biome.json Normal file
View File

@@ -0,0 +1,35 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": {
"enabled": true
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignore": [
".devcontainer/**",
"docs/**",
"translations/**",
"policies/**",
"crates/**",
"frontend/src/gql/**",
"frontend/src/routeTree.gen.ts",
"**/coverage/**",
"**/dist/**"
]
},
"formatter": {
"enabled": true,
"useEditorconfig": true,
"ignore": ["frontend/.storybook/locales.ts", "frontend/locales/*.json"]
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}