Skip to content

Commit

Permalink
enable errcheck linter
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
  • Loading branch information
mmorel-35 committed May 28, 2024
1 parent 3ddc148 commit 9859039
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
issues:
max-issues-per-linter: 0
max-same-issues: 0
linters:
enable:
- errcheck
- errorlint
- gofumpt
- goimports
- gosimple
- govet
- ineffassign
- misspell
- revive
- staticcheck
- testifylint

issues:
exclude-rules:
- path: _test.go
linters:
- errcheck
max-issues-per-linter: 0
max-same-issues: 0

- unused
linters-settings:
goimports:
local-prefixes: github.com/prometheus/common
Expand Down

0 comments on commit 9859039

Please sign in to comment.