Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 74cc7e9

Browse files
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 2110a14 commit 74cc7e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎.pre-commit-config.yaml‎

Lines changed: 3 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /