feat: add Husky pre-commit hook for Biome checks - fixes #38

This commit is contained in:
GitHub Copilot
2025-05-07 14:48:27 -04:00
parent 6d91b331ab
commit 825ac2eb4e
7 changed files with 1255 additions and 3 deletions

View File

@@ -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
}
}