Skip to content

Commit 83998b4

Browse files
Fix precommit config.
1 parent 9bd8a95 commit 83998b4

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
# pre-commit install --hook-type pre-commit
33
# pre-commit install --hook-type commit-msg
44

5+
# Global exclude pattern - applies to all hooks by default
6+
exclude: |
7+
(?x)^(
8+
vendor/.*|
9+
src/com/.*|
10+
src/google/.*|
11+
tests/snapshots-tmp/.*|
12+
tests/snapshots/.*
13+
)$
14+
515
repos:
616
- repo: https://github.com/pre-commit/pre-commit-hooks
717
rev: v5.0.0

0 commit comments

Comments
 (0)