Browse Source

Remove some hooks included in golangci-lint and upgrade existing

master
IamTheFij 3 weeks ago
parent
commit
88e94642d9
  1. 11
      .pre-commit-config.yaml

11
.pre-commit-config.yaml

@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: check-yaml
@ -11,15 +11,10 @@ repos:
- id: end-of-file-fixer
- id: check-merge-conflict
- repo: https://github.com/golangci/golangci-lint
rev: v1.42.1
rev: v1.46.2
hooks:
- id: golangci-lint
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.4.0
hooks:
- id: go-fmt
- id: go-imports
- repo: https://github.com/hadolint/hadolint
rev: v2.4.0
rev: v2.10.0
hooks:
- id: hadolint

Loading…
Cancel
Save