diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c335920..1207dbc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,17 @@ repos: rev: v0.3.0 hooks: - 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 - repo: local hooks: @@ -22,9 +33,3 @@ repos: language: system types: [file] pass_filenames: false - - id: zlint - name: Run zlint - entry: zlint - args: ["--deny-warnings", "--fix"] - language: system - types: [zig]