File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ # https://golangci-lint.run/usage/configuration
2+ version : " 2"
3+
4+ run :
5+ timeout : 5m
6+ tests : true
7+ concurrency : 4
8+
9+ linters :
10+ enable :
11+ - govet
12+ - errcheck
13+ - staticcheck
14+ - revive
15+ - ineffassign
16+ - unused
17+ - unparam
18+ - misspell
19+ - nakedret
20+ - bodyclose
21+ - gocritic
22+ - makezero
23+ - gosec
24+ settings :
25+ staticcheck :
26+ checks :
27+ - all
28+ - " -QF1008" # Allow embedded structs to be referenced by field
29+ - " -ST1000" # Do not require package comments
30+ revive :
31+ rules :
32+ - name : exported
33+ disabled : true
34+ - name : exported
35+ disabled : true
36+ - name : package-comments
37+ disabled : true
38+
39+ formatters :
40+ enable :
41+ - gofmt
42+ - goimports
43+
44+ output :
45+ formats :
46+ text :
47+ print-linter-name : true
48+ print-issued-lines : true
You can’t perform that action at this time.
0 commit comments