From 176dd766ec0826f8662a20e7f0ddf1a7ba0d3538 Mon Sep 17 00:00:00 2001 From: "Calvin A. Allen" Date: Fri, 2 Jan 2026 15:18:02 -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..aab36f1 --- /dev/null +++ b/package.json @@ -0,0 +1,14 @@ +{ + "name": "vstoolbox", + "version": "0.0.0", + "private": true, + "description": "Development dependencies for VSToolbox - conventional commits tooling", + "scripts": { + "prepare": "husky" + }, + "devDependencies": { + "@commitlint/cli": "^19.0.0", + "@commitlint/config-conventional": "^19.0.0", + "husky": "^9.0.0" + } +}