File tree 1 file changed +26
-11
lines changed
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
3
1
version : " 2"
4
2
5
3
run :
6
4
timeout : 5m
7
- modules-download-mode : readonly
5
+ allow-parallel-runners : true
8
6
9
- linters :
7
+ formatters :
10
8
enable :
11
- - errcheck
12
- - govet
13
- - staticcheck
9
+ - goimports
10
+ - gofmt
14
11
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