mirror of
https://github.com/bucknatt/mitsu-plugin.git
synced 2026-07-22 07:05:32 +00:00
Pin TypeScript 5.8.3 and add legacy-peer-deps so npm ci matches eslint-plugin-obsidianmd peer requirements in GitHub Actions.
4 lines
224 B
Bash
Executable file
4 lines
224 B
Bash
Executable file
#!/bin/sh
|
|
# Strips Cursor's automatic co-author trailer from commit messages.
|
|
# Enable once: git config core.hooksPath .githooks
|
|
grep -v '^Co-authored-by: Cursor <cursoragent@cursor.com>$' "$1" >"$1.tmp" && mv "$1.tmp" "$1"
|