We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fdfb6e commit 044cec3Copy full SHA for 044cec3
lefthook.yml
@@ -27,3 +27,12 @@ pre-commit:
27
typos:
28
tags: spellcheck
29
run: typos --force-exclude -- {staged_files}
30
+# takes one parameter - the file with the proposed commit message
31
+# access through lefthook with `{1}`
32
+#
33
+# If this hook fails, a backup of the commit message is saved in .git/
34
+commit-msg:
35
+ commands:
36
+ typos-commit:
37
+ tags: spellcheck
38
+ run: typos -- {1}
0 commit comments