Skip to content

Commit

Permalink
Update the golangci lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
metalmatze committed Jun 29, 2024
1 parent 500fa00 commit 33fe6b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion .errcheck_excludes.txt

This file was deleted.

9 changes: 5 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
run:
deadline: 5m
go: 1.19
skip-dirs:
- proto/
go: 1.20

linters:
enable:
Expand All @@ -14,6 +12,8 @@ linters:
- whitespace

issues:
exclude-dirs:
- proto/
exclude-rules:
- path: _test.go
linters:
Expand All @@ -39,7 +39,8 @@ linters-settings:
- pkg: github.com/pkg/errors
desc: "Use fmt.Errorf instead"
errcheck:
exclude: ./.errcheck_excludes.txt
exclude-functions:
- "(github.com/go-kit/log.Logger).Log"
goimports:
local-prefixes: github.com/pyrra-dev/pyrra
gofumpt:
Expand Down

0 comments on commit 33fe6b3

Please sign in to comment.