Skip to content

Commit 0fb7946

Browse files
committed
remove unnecessary linter exceptions
Signed-off-by: Tim Ramlot <[email protected]>
1 parent 799a164 commit 0fb7946

File tree

1 file changed

+2
-50
lines changed

1 file changed

+2
-50
lines changed

.golangci.yaml

Lines changed: 2 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,26 @@
11
issues:
22
exclude-rules:
33
- linters:
4-
- staticcheck
5-
- errcheck
6-
- unconvert
7-
- unparam
8-
- dupword
9-
- gosimple
10-
- nilerr
11-
- nilnil
12-
# TODO(mael): add the following linters one by one and fix the issues
13-
# they report. I didn't have time to do that when I migrated to
14-
# makefile-modules.
15-
- asasalint
16-
- asciicheck
17-
- bidichk
184
- bodyclose
19-
- contextcheck
20-
- decorder
21-
- dogsled
225
- dupword
23-
- durationcheck
246
- errcheck
257
- errchkjson
26-
- errname
27-
- execinquery
28-
- exhaustive
29-
- exportloopref
308
- forbidigo
319
- gci
32-
- ginkgolinter
33-
- gocheckcompilerdirectives
34-
- gochecksumtype
3510
- gocritic
3611
- gofmt
37-
- goheader
38-
- goprintffuncname
3912
- gosec
4013
- gosimple
41-
- gosmopolitan
4214
- govet
43-
- grouper
44-
- importas
45-
- ineffassign
46-
- interfacebloat
47-
- loggercheck
48-
- makezero
49-
- mirror
5015
- misspell
5116
- musttag
52-
- nakedret
5317
- nilerr
54-
- nilnil
55-
- noctx
56-
- nosprintfhostport
57-
- predeclared
58-
- promlinter
59-
- protogetter
60-
- reassign
61-
- sloglint
6218
- staticcheck
63-
- tagalign
64-
- tenv
65-
- testableexamples
66-
- typecheck
19+
- noctx
6720
- unconvert
6821
- unparam
69-
- unused
7022
- usestdlibvars
71-
- wastedassign
23+
- predeclared
7224
text: ".*"
7325
linters:
7426
# Explicitly define all enabled linters

0 commit comments

Comments
 (0)