Skip to content

Commit 615f718

Browse files
committed
Enable linters which do not report anything
Those do not introduce any file changes so they can be enabled by default. Signed-off-by: Sascha Grunert <[email protected]>
1 parent 8332eef commit 615f718

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.golangci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,28 @@ linters:
66
disable-all: true
77
enable:
88
- asasalint
9+
- asciicheck
910
- bidichk
1011
- canonicalheader
1112
- containedctx
1213
- copyloopvar
1314
- decorder
15+
- dogsled
1416
- dupl
1517
- dupword
1618
- durationcheck
1719
- errname
20+
- exportloopref
1821
- fatcontext
1922
- forcetypeassert
2023
- gocheckcompilerdirectives
2124
- gochecksumtype
2225
- gocritic
2326
- gofmt
27+
- goheader
2428
- goimports
29+
- gomoddirectives
30+
- gomodguard
2531
- gosmopolitan
2632
- govet
2733
- grouper
@@ -45,32 +51,32 @@ linters:
4551
- promlinter
4652
- protogetter
4753
- reassign
54+
- rowserrcheck
4855
- sloglint
4956
- spancheck
57+
- sqlclosecheck
5058
- staticcheck
5159
- tagalign
5260
- tagliatelle
5361
- tenv
5462
- testableexamples
5563
- testifylint
64+
- tparallel
5665
- typecheck
5766
- unused
5867
- usestdlibvars
5968
- wastedassign
6069
- zerologlint
61-
# - asciicheck
6270
# - bodyclose
6371
# - contextcheck
6472
# - cyclop
6573
# - depguard
66-
# - dogsled
6774
# - err113
6875
# - errcheck
6976
# - errchkjson
7077
# - errorlint
7178
# - exhaustive
7279
# - exhaustruct
73-
# - exportloopref
7480
# - forbidigo
7581
# - funlen
7682
# - gci
@@ -83,9 +89,6 @@ linters:
8389
# - godot
8490
# - godox
8591
# - gofumpt
86-
# - goheader
87-
# - gomoddirectives
88-
# - gomodguard
8992
# - goprintffuncname
9093
# - gosec
9194
# - gosimple
@@ -100,12 +103,9 @@ linters:
100103
# - nonamedreturns
101104
# - paralleltest
102105
# - revive
103-
# - rowserrcheck
104-
# - sqlclosecheck
105106
# - stylecheck
106107
# - testpackage
107108
# - thelper
108-
# - tparallel
109109
# - unconvert
110110
# - unparam
111111
# - varnamelen

0 commit comments

Comments
 (0)