File tree Expand file tree Collapse file tree 1 file changed +26
-11
lines changed
Expand file tree Collapse file tree 1 file changed +26
-11
lines changed Original file line number Diff line number Diff line change 1- # Refer to golangci-lint's example config file for more options and information:
2- # https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml
31version : " 2"
42
53run :
64 timeout : 5m
7- modules-download-mode : readonly
5+ allow-parallel-runners : true
86
9- linters :
7+ formatters :
108 enable :
11- - errcheck
12- - govet
13- - staticcheck
9+ - goimports
10+ - gofmt
1411
15- issues :
16- exclude-use-default : false
17- max-issues-per-linter : 0
18- max-same-issues : 0
12+ linters :
13+ enable :
14+ - copyloopvar
15+ - dupword
16+ - durationcheck
17+ - fatcontext
18+ - ginkgolinter
19+ - gocritic
20+ - govet
21+ - loggercheck
22+ - misspell
23+ - perfsprint
24+ - revive
25+ - unconvert
26+ - makezero
27+ - errcheck
28+ - goconst
29+ - ineffassign
30+ - nakedret
31+ - prealloc
32+ - unparam
33+ - unused
You can’t perform that action at this time.
0 commit comments