File tree Expand file tree Collapse file tree 2 files changed +86
-3
lines changed Expand file tree Collapse file tree 2 files changed +86
-3
lines changed Original file line number Diff line number Diff line change
1
+ run :
2
+ tests : false
3
+
4
+ linters :
5
+ enable :
6
+ - bodyclose
7
+ - deadcode
8
+ - depguard
9
+ - dogsled
10
+ - dupl
11
+ - errcheck
12
+ - funlen
13
+ - gochecknoinits
14
+ - goconst
15
+ - gocritic
16
+ - gocyclo
17
+ - gofmt
18
+ - goimports
19
+ - golint
20
+ - gosec
21
+ - gosimple
22
+ - govet
23
+ - ineffassign
24
+ - interfacer
25
+ - lll
26
+ - misspell
27
+ - nakedret
28
+ - scopelint
29
+ - staticcheck
30
+ - structcheck
31
+ - stylecheck
32
+ - typecheck
33
+ - unconvert
34
+ - unparam
35
+ - unused
36
+ - varcheck
37
+ - whitespace
38
+ disable :
39
+ - gochecknoglobals
40
+ - goerr113
41
+ - wrapcheck
42
+ - exhaustivestruct
43
+ - errorlint
44
+ disable-all : false
45
+ presets :
46
+ - bugs
47
+ - unused
48
+ - performance
49
+ - format
50
+ - style
51
+ fast : false
52
+
53
+ linters-settings :
54
+ govet :
55
+ check-shadowing : true
56
+ golint :
57
+ min-confidence : 0
58
+ gocyclo :
59
+ min-complexity : 15
60
+ maligned :
61
+ suggest-new : true
62
+ dupl :
63
+ threshold : 100
64
+ goconst :
65
+ min-len : 2
66
+ min-occurrences : 2
67
+ misspell :
68
+ locale : US
69
+ gocritic :
70
+ enabled-tags :
71
+ - diagnostic
72
+ - experimental
73
+ - opinionated
74
+ - performance
75
+ - style
76
+ funlen :
77
+ lines : 100
78
+ statements : 50
79
+
80
+ issues :
81
+ exclude :
82
+ - " G402:" # Insecure TLS Config
83
+ - " G404:"
84
+ - " `Mapping` is a global variable"
85
+ - " mnd: Magic number: 1, in <argument> detected"
86
+ - " mnd: Magic number: 2, in <argument> detected"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments