feat: Improve (/limit) default set of stages to run pre-commit hook in

https://pre-commit.com/#confining-hooks-to-run-at-certain-stages
This commit is contained in:
Ville Skyttä 2022-12-17 20:10:57 +02:00
parent 1d8996e205
commit 389612f972

View file

@ -5,6 +5,7 @@
entry: typos entry: typos
args: [--write-changes] args: [--write-changes]
types: [text] types: [text]
stages: [commit, merge-commit, push, manual]
- id: typos-src - id: typos-src
name: typos name: typos
@ -13,3 +14,4 @@
entry: typos entry: typos
args: [--write-changes] args: [--write-changes]
types: [text] types: [text]
stages: [commit, merge-commit, push, manual]