chore: update pre-commit #54

Merged
argoyle merged 1 commits from update-precommit into main 2023-05-18 19:02:36 +00:00
2 changed files with 8 additions and 4 deletions
+2
View File
@@ -0,0 +1,2 @@
run:
allow-parallel-runners: true
+6 -4
View File
@@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks # See https://pre-commit.com/hooks.html for more hooks
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0 rev: v4.4.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
@@ -20,7 +20,7 @@ repos:
- --project - --project
- unboundsoftware/gitlab-cleanup-handler - unboundsoftware/gitlab-cleanup-handler
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.1.0 rev: v9.5.0
hooks: hooks:
- id: commitlint - id: commitlint
stages: [ commit-msg ] stages: [ commit-msg ]
@@ -32,6 +32,8 @@ repos:
- id: go-fmt-goimports - id: go-fmt-goimports
- id: go-test - id: go-test
- id: go-vet - id: go-vet
- id: golangci-lint
- id: gofumpt - id: gofumpt
- id: staticcheck - repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
hooks:
- id: golangci-lint