mirror of
https://github.com/acedanger/finance.git
synced 2025-12-05 22:50:12 -08:00
feat: add Husky pre-commit hook for Biome checks - fixes #38
This commit is contained in:
19
biome.json
19
biome.json
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
|
||||
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
||||
"organizeImports": {
|
||||
"enabled": true
|
||||
},
|
||||
@@ -13,7 +13,14 @@
|
||||
"style": {
|
||||
"useTemplate": "error",
|
||||
"useConst": "error"
|
||||
}
|
||||
},
|
||||
"correctness": {
|
||||
"noUnusedImports": "error"
|
||||
},
|
||||
"complexity": {
|
||||
"noExcessiveCognitiveComplexity": "warn"
|
||||
},
|
||||
"nursery": {}
|
||||
}
|
||||
},
|
||||
"formatter": {
|
||||
@@ -26,9 +33,17 @@
|
||||
"formatter": {
|
||||
"quoteStyle": "single",
|
||||
"semicolons": "always"
|
||||
},
|
||||
"parser": {
|
||||
"unsafeParameterDecoratorsEnabled": true
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"ignore": ["dist", "node_modules", ".astro", "coverage"]
|
||||
},
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
"clientKind": "git",
|
||||
"useIgnoreFile": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user