Skip to content

Commit 0d1fd88

Browse files
authored
chore: clean up golangci-lint configuration (#720)
Signed-off-by: Matthieu MOREL <[email protected]>
1 parent 61fe412 commit 0d1fd88

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.golangci.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,12 @@ linters:
1919
misspell:
2020
locale: US
2121
exclusions:
22-
generated: lax
2322
presets:
2423
- comments
2524
- common-false-positives
2625
- legacy
2726
- std-error-handling
28-
paths:
29-
- third_party$
30-
- builtin$
31-
- examples$
27+
warn-unused: true
3228
formatters:
3329
enable:
3430
- gofmt
@@ -37,9 +33,3 @@ formatters:
3733
goimports:
3834
local-prefixes:
3935
- github.com/prometheus/procfs
40-
exclusions:
41-
generated: lax
42-
paths:
43-
- third_party$
44-
- builtin$
45-
- examples$

0 commit comments

Comments
 (0)