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

8
lint-staged.config.mjs Normal file
View File

@@ -0,0 +1,8 @@
const config = {
"*.{js,ts}": (stagedFiles) => [
`deno lint ${stagedFiles.join(" ")}`,
`deno fmt ${stagedFiles.join(" ")}`,
],
"*.{md,json}": (stagedFiles) => [`deno fmt ${stagedFiles.join(" ")}`],
};
export default config;