Skip to content

Commit baf75dd

Browse files
committed
chore: clean up and sort golangci-lint configuration
Signed-off-by: Matthieu MOREL <[email protected]>
1 parent c79a891 commit baf75dd

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.golangci.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,18 @@ linters:
2525
severity: warning
2626
disabled: true
2727
testifylint:
28-
enable-all: true
2928
disable:
3029
- go-require
30+
enable-all: true
3131
formatter:
3232
require-f-funcs: true
3333
exclusions:
34-
generated: lax
3534
presets:
3635
- comments
3736
- common-false-positives
3837
- legacy
3938
- std-error-handling
40-
paths:
41-
- third_party$
42-
- builtin$
43-
- examples$
39+
warn-unused: true
4440
issues:
4541
max-issues-per-linter: 0
4642
max-same-issues: 0
@@ -52,9 +48,3 @@ formatters:
5248
goimports:
5349
local-prefixes:
5450
- github.com/prometheus/common
55-
exclusions:
56-
generated: lax
57-
paths:
58-
- third_party$
59-
- builtin$
60-
- examples$

0 commit comments

Comments
 (0)