Skip to content

Commit 95842f2

Browse files
committed
perf: use sequential priority values for prek hooks
1 parent 7755a37 commit 95842f2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ repos:
77
- id: end-of-file-fixer
88
priority: 0
99
- id: check-yaml
10-
priority: 10
10+
priority: 1
1111
- id: check-added-large-files
12-
priority: 10
12+
priority: 1
1313

1414
- repo: https://github.com/biomejs/pre-commit
1515
rev: v2.3.10
1616
hooks:
1717
- id: biome-check
18-
priority: 10
18+
priority: 1
1919

2020
- repo: local
2121
hooks:
@@ -26,20 +26,20 @@ repos:
2626
pass_filenames: false
2727
files: ^src/
2828
types_or: [ts, tsx]
29-
priority: 20
29+
priority: 2
3030
- id: knip
3131
name: knip
3232
entry: powershell -Command "npm run knip"
3333
language: system
3434
pass_filenames: false
3535
files: ^src/
3636
types_or: [ts, tsx, javascript, jsx, json]
37-
priority: 20
37+
priority: 2
3838
- id: dependency-cruiser
3939
name: dependency-cruiser
4040
entry: powershell -Command "npm run depcruise"
4141
language: system
4242
pass_filenames: false
4343
files: ^src/
4444
types_or: [ts, tsx, javascript, jsx]
45-
priority: 20
45+
priority: 2

0 commit comments

Comments
 (0)