File tree 1 file changed +94
-0
lines changed 1 file changed +94
-0
lines changed Original file line number Diff line number Diff line change
1
+ run :
2
+ # timeout for analysis, e.g. 30s, 5m, default is 1m
3
+ deadline : 1m
4
+
5
+ # default concurrency is a available CPU number
6
+ concurrency : 4
7
+
8
+ linters :
9
+ disable-all : true
10
+ enable :
11
+ - asciicheck
12
+ - bodyclose
13
+ - deadcode
14
+ - depguard
15
+ - dogsled
16
+ - dupl
17
+ - errcheck
18
+ - exhaustive
19
+ # - exhaustivestruct
20
+ - exportloopref
21
+ - gci
22
+ - gochecknoinits
23
+ # - gochecknoglobals
24
+ - gocognit
25
+ - goconst
26
+ - gocritic
27
+ - gocyclo
28
+ - godox
29
+ - goerr113
30
+ - gofmt
31
+ - goimports
32
+ # - golint --> revive
33
+ - gomnd
34
+ - goprintffuncname
35
+ - gosec
36
+ - gosimple
37
+ - govet
38
+ - ineffassign
39
+ # - interfacer --> (deprecated)
40
+ # - maligned --> govet:fieldalignment
41
+ - megacheck
42
+ - misspell
43
+ - nakedret
44
+ - nestif
45
+ - nlreturn
46
+ - prealloc
47
+ - nilerr
48
+ - nolintlint
49
+ - rowserrcheck
50
+ # - scopelint --> exportloopref
51
+ - exportloopref
52
+ - staticcheck
53
+ - structcheck
54
+ - stylecheck
55
+ - testpackage
56
+ - typecheck
57
+ - unconvert
58
+ - unparam
59
+ - unused
60
+ - varcheck
61
+ - whitespace
62
+ - wrapcheck
63
+ fast : false
64
+
65
+ linters-settings :
66
+ golint :
67
+ # minimal confidence for issues, default is 0.8
68
+ min-confidence : 0.0
69
+ gofmt :
70
+ # simplify code: gofmt with `-s` option, true by default
71
+ simplify : true
72
+ goimports :
73
+ # put imports beginning with prefix after 3rd-party packages;
74
+ # it's a comma-separated list of prefixes
75
+ local-prefixes : github.com/habx/service-webhooks-v2
76
+
77
+ sections :
78
+ - standard
79
+ - default
80
+ - prefix(github.com/habx)
81
+ gci :
82
+ sections :
83
+ - standard
84
+ - default
85
+ - prefix(github.com/habx)
86
+ misspell :
87
+ # Correct spellings using locale preferences for US or UK.
88
+ # Default is to use a neutral variety of English.
89
+ # Setting locale to US will correct the British spelling of 'colour' to 'color'.
90
+ locale : US
91
+ issues :
92
+ include :
93
+ - EXC0012 # EXC0012 revive: Annoying issue about not having a comment. The rare codebase has such comments
94
+ - EXC0014 # EXC0014 revive: Annoying issue about not having a comment. The rare codebase has such comments
You can’t perform that action at this time.
0 commit comments