chore(deps): update pre-commit hook golangci/golangci-lint to v2

This commit is contained in:
Renovate
2025-03-24 12:53:56 +00:00
committed by Joakim Olsson
parent 9d5370cd7b
commit 466ba0f8db
2 changed files with 21 additions and 2 deletions
+20 -1
View File
@@ -1,3 +1,22 @@
version: "2"
run: run:
allow-parallel-runners: true allow-parallel-runners: true
timeout: 5m linters:
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$
+1 -1
View File
@@ -36,6 +36,6 @@ repos:
- id: go-vet - id: go-vet
- id: gofumpt - id: gofumpt
- repo: https://github.com/golangci/golangci-lint - repo: https://github.com/golangci/golangci-lint
rev: v1.64.8 rev: v2.0.0
hooks: hooks:
- id: golangci-lint - id: golangci-lint