reorder pre commit config to go fastest -> slowest
This commit is contained in:
parent
0a175c55d3
commit
9eabc8b0ce
1 changed files with 11 additions and 6 deletions
|
|
@ -12,6 +12,17 @@ repos:
|
||||||
rev: v0.3.0
|
rev: v0.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: zig-fmt
|
- id: zig-fmt
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: zlint
|
||||||
|
name: Run zlint
|
||||||
|
entry: zlint
|
||||||
|
args: ["--deny-warnings", "--fix"]
|
||||||
|
language: system
|
||||||
|
types: [zig]
|
||||||
|
- repo: https://github.com/batmac/pre-commit-zig
|
||||||
|
rev: v0.3.0
|
||||||
|
hooks:
|
||||||
- id: zig-build
|
- id: zig-build
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
|
|
@ -22,9 +33,3 @@ repos:
|
||||||
language: system
|
language: system
|
||||||
types: [file]
|
types: [file]
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
- id: zlint
|
|
||||||
name: Run zlint
|
|
||||||
entry: zlint
|
|
||||||
args: ["--deny-warnings", "--fix"]
|
|
||||||
language: system
|
|
||||||
types: [zig]
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue