diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-19 07:54:47 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-19 07:54:47 -0500 |
| commit | 11db5ad183d47212157124172a27bfbeb3d4c800 (patch) | |
| tree | e4ec9ffba666635cde017d0b65f64a607fa49d66 /tests/test-custom-comments-comment-unicode-box.el | |
| parent | 81fda9b480eb491e0b83eda9a7f354b1edaf61b1 (diff) | |
| download | dotemacs-11db5ad183d47212157124172a27bfbeb3d4c800.tar.gz dotemacs-11db5ad183d47212157124172a27bfbeb3d4c800.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 'tests/test-custom-comments-comment-unicode-box.el')
0 files changed, 0 insertions, 0 deletions
