File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,10 @@ linters:
44 - deadcode
55 - depguard
66 - dogsled
7+ - errchkjson
8+ - exportloopref # Checks for pointers to enclosing loop variables
79 - gocyclo
10+ - gofmt
811 - goimports
912 - gosec
1013 - gosimple
@@ -14,12 +17,22 @@ linters:
1417 - megacheck
1518 - misspell
1619 - nakedret
20+ - nolintlint
21+ # - paralleltest
22+ # - predeclared
23+ - reassign
24+ - revive
1725 - staticcheck
26+ - stylecheck # Replacement for golint
27+ - tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
28+ # - thelper
29+ - tparallel
1830 - typecheck
1931 - unconvert
2032 - unparam
2133 - unused
22- - revive
34+ - usestdlibvars
35+ - vet
2336
2437 disable :
2538 - errcheck
@@ -112,6 +125,9 @@ issues:
112125 linters :
113126 - errcheck
114127 - gosec
128+ - text : " ST1000: at least one file in a package should have a package comment"
129+ linters :
130+ - stylecheck
115131
116132 # Maximum issues count per one linter. Set to 0 to disable. Default is 50.
117133 max-issues-per-linter : 0
You can’t perform that action at this time.
0 commit comments