aboutsummaryrefslogtreecommitdiff
path: root/.claude
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-19 07:54:47 -0500
committerCraig Jennings <c@cjennings.net>2026-04-19 07:54:47 -0500
commitc3b0057b4438ed3080b80fe0c8611683138c1bd5 (patch)
tree446c3f2bb8f2ac235d845aa5ea56cfbfbec4ff0c /.claude
parente6a87bffca9d44ec180f7a17f6891de8f4bfccec (diff)
downloaddotemacs-c3b0057b4438ed3080b80fe0c8611683138c1bd5.tar.gz
dotemacs-c3b0057b4438ed3080b80fe0c8611683138c1bd5.zip
chore(hooks): add tracked pre-commit hook via githooks/
Portable setup: pre-commit lives in githooks/ (tracked), activated by `make install-hooks` which sets core.hooksPath. Survives fresh clones. The hook does two things on staged changes: - Scans added lines for common credential patterns (AWS keys, sk-* tokens, BEGIN PRIVATE KEY blocks, api_key/password literals) - Runs check-parens on staged .el files Bypass with `git commit --no-verify` for confirmed false positives.
Diffstat (limited to '.claude')
0 files changed, 0 insertions, 0 deletions