Skip to content

Commit a6b27c2

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

File tree

1 file changed

+13
-24
lines changed

1 file changed

+13
-24
lines changed

.golangci.yml

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
1-
version: "2"
21
linters:
2+
disable:
3+
- unused
34
enable:
45
- misspell
56
- revive
67
- sloglint
7-
disable:
8-
- unused
9-
settings:
10-
errcheck:
11-
exclude-functions:
12-
- (net/http.ResponseWriter).Write
13-
revive:
14-
rules:
15-
- name: unused-parameter
16-
severity: warning
17-
disabled: true
188
exclusions:
19-
generated: lax
9+
generated: strict
2010
presets:
2111
- comments
2212
- common-false-positives
@@ -27,14 +17,13 @@ linters:
2717
- errcheck
2818
- govet
2919
path: _test.go
30-
paths:
31-
- third_party$
32-
- builtin$
33-
- examples$
34-
formatters:
35-
exclusions:
36-
generated: lax
37-
paths:
38-
- third_party$
39-
- builtin$
40-
- examples$
20+
settings:
21+
errcheck:
22+
exclude-functions:
23+
- (net/http.ResponseWriter).Write
24+
revive:
25+
rules:
26+
- name: unused-parameter
27+
severity: warning
28+
disabled: true
29+
version: "2"

0 commit comments

Comments
 (0)