Skip to content

Commit ef08658

Browse files
authored
enable errcheck linter (#637)
Signed-off-by: Matthieu MOREL <[email protected]>
1 parent cecfdc4 commit ef08658

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.golangci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1+
issues:
2+
max-issues-per-linter: 0
3+
max-same-issues: 0
14
linters:
25
enable:
6+
- errcheck
37
- errorlint
48
- gofumpt
59
- goimports
10+
- gosimple
11+
- govet
12+
- ineffassign
613
- misspell
714
- revive
15+
- staticcheck
816
- testifylint
9-
10-
issues:
11-
exclude-rules:
12-
- path: _test.go
13-
linters:
14-
- errcheck
15-
max-issues-per-linter: 0
16-
max-same-issues: 0
17-
17+
- unused
1818
linters-settings:
1919
goimports:
2020
local-prefixes: github.com/prometheus/common

0 commit comments

Comments
 (0)