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