Skip to content

Commit 1f0535a

Browse files
Kurt-von-LavenLee-W
authored andcommitted
ci(pre-commit): Run hooks pre-commit by default
They already run pre-push, and this behavior is left unchanged. Running hooks pre-commit gives developers more immediate feedback and improves commit quality by blocking an often unnecessary series of fix commits.
1 parent 3e19f16 commit 1f0535a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.pre-commit-config.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
default_stages: [push]
1+
default_stages:
2+
- commit
3+
- push
24
repos:
35
- repo: https://github.com/pre-commit/pre-commit-hooks
46
rev: v4.1.0

0 commit comments

Comments
 (0)