feat: add forbidden_reason arg to prefix_rule() in *.rules

This commit is contained in:
Michael Bolin
2026-01-05 11:20:46 -08:00
parent 1d8e2b4da8
commit f0ccf9fcb4
10 changed files with 265 additions and 11 deletions
@@ -4,6 +4,7 @@
prefix_rule(
pattern = ["git", "reset", "--hard"],
decision = "forbidden",
forbidden_reason = "destructive operation",
match = [
["git", "reset", "--hard"],
],