feat: project hooks and linting + WARN commit message linting not done

This commit is contained in:
2025-11-27 23:50:33 +01:00
parent 11fd4cb826
commit 1cdccaeb29
7 changed files with 771 additions and 6 deletions

View File

@@ -1,12 +1,16 @@
{
"tasks": {
"setup": "git config --local core.hooksPath .githooks && cd .githooks && chmod +x *",
"dev": "deno run -R --watch src/main.ts",
"today:dev": "deno run -R --watch src/main.ts $(date +%e)",
"today": "deno run -R src/main.ts $(date +%e)",
"test": "deno test --parallel src"
"test": "deno test --parallel src"
},
"imports": {
"@commitlint/cli": "npm:@commitlint/cli@^20.1.0",
"@commitlint/config-conventional": "npm:@commitlint/config-conventional@^20.0.0",
"@std/assert": "jsr:@std/assert@1",
"@/": "./src/"
"@/": "./src/",
"lint-staged": "npm:lint-staged@^16.2.7"
}
}