From a986a26d3e6bcb3080d64f7bdcc71668e4e0f4c0 Mon Sep 17 00:00:00 2001 From: "Calvin A. Allen" Date: Fri, 2 Jan 2026 14:47:40 -0500 Subject: [PATCH] chore: add husky for local commit linting Adds package.json with husky and commitlint dependencies to enable local commit message validation before push. --- .husky/commit-msg | 1 + package.json | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .husky/commit-msg create mode 100644 package.json diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100644 index 0000000..0a4b97d --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1 @@ +npx --no -- commitlint --edit $1 diff --git a/package.json b/package.json new file mode 100644 index 0000000..a5dfb5a --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "vs-superclean", + "version": "0.0.0", + "private": true, + "description": "Development dependencies for VS-SuperClean - conventional commits tooling", + "scripts": { + "prepare": "husky" + }, + "devDependencies": { + "@commitlint/cli": "^19.0.0", + "@commitlint/config-conventional": "^19.0.0", + "husky": "^9.0.0" + } +}