Skip to content

Commit

Permalink
enable errcheck linter (#637)
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 authored Jun 3, 2024
1 parent cecfdc4 commit ef08658
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 ef08658

Please sign in to comment.