File tree Expand file tree Collapse file tree 1 file changed +82
-75
lines changed
Expand file tree Collapse file tree 1 file changed +82
-75
lines changed Original file line number Diff line number Diff line change 1- run :
2- concurrency : 4
3- deadline : 1m
4- issues-exit-code : 1
5- tests : false
6- skip-files :
7- - " .*_mock\\ .go"
8- - " mock_.*\\ .go"
9- - " .*/pkg/mod/.*$"
10-
11- output :
12- format : colored-line-number
13- print-issued-lines : true
14- print-linter-name : true
15-
16- linters-settings :
17- errcheck :
18- check-type-assertions : false
19- check-blank : false
20- govet :
21- check-shadowing : false
22- revive :
23- ignore-generated-header : true
24- severity : warning
25- gofmt :
26- simplify : true
27- gocyclo :
28- min-complexity : 18
29- maligned :
30- suggest-new : true
31- dupl :
32- threshold : 50
33- goconst :
34- min-len : 3
35- min-occurrences : 2
36- depguard :
37- list-type : blacklist
38- include-go-root : false
39- packages :
40- - github.com/davecgh/go-spew/spew
41- misspell :
42- locale : US
43- ignore-words :
44- - cancelled
45- goimports :
46- local-prefixes : go.opentelemetry.io
47-
48-
49- linters :
50- disable-all : true
1+ formatters :
512 enable :
52- - deadcode
53- - depguard
54- - errcheck
55- - gas
56- - goconst
57- - gocyclo
583 - gofmt
59- - revive
60- - govet
61- - ineffassign
62- - megacheck
63- - misspell
64- - structcheck
65- - typecheck
66- - unconvert
67- - varcheck
68- - gosimple
69- - staticcheck
70- - unused
4+ exclusions :
5+ paths :
6+ - .*_mock\.go
7+ - mock_.*\.go
8+ - .*/pkg/mod/.*$
9+ - .*/go/src/.*\.go
10+ - third_party$
11+ - builtin$
12+ - examples$
13+ settings :
14+ gofmt :
15+ simplify : true
16+ goimports :
17+ local-prefixes :
18+ - go.opentelemetry.io
19+ issues :
20+ max-issues-per-linter : 50
21+ linters :
22+ default : none
23+ enable :
7124 - asciicheck
7225 - bodyclose
7326 - dogsled
74- - dupl
7527 - durationcheck
28+ - errcheck
7629 - errorlint
7730 - exhaustive
78- - exportloopref
7931 - forbidigo
8032 - forcetypeassert
33+ - goconst
8134 - gocritic
35+ - gocyclo
8236 - godot
83- - goerr113
8437 - gosec
85- - ifshort
38+ - govet
39+ - ineffassign
40+ - misspell
8641 - nestif
8742 - nilerr
8843 - nlreturn
8944 - noctx
9045 - prealloc
9146 - predeclared
47+ - revive
9248 - sqlclosecheck
93- - tagliatelle
49+ - staticcheck
50+ - unconvert
51+ - unused
9452 - whitespace
9553 - wrapcheck
96- - wsl
97- fast : false
54+ - wsl_v5
55+ exclusions :
56+ paths :
57+ - .*_mock\.go
58+ - mock_.*\.go
59+ - .*/pkg/mod/.*$
60+ - .*/go/src/.*\.go
61+ - third_party$
62+ - builtin$
63+ - examples$
64+ presets :
65+ - comments
66+ - common-false-positives
67+ - legacy
68+ - std-error-handling
69+ settings :
70+ depguard :
71+ rules :
72+ main :
73+ allow :
74+ - $all
75+ dupl :
76+ threshold : 99
77+ errcheck :
78+ check-blank : false
79+ check-type-assertions : false
80+ goconst :
81+ min-len : 3
82+ min-occurrences : 2
83+ gocyclo :
84+ min-complexity : 18
85+ govet :
86+ disable :
87+ - shadow
88+ misspell :
89+ ignore-rules :
90+ - cancelled
91+ locale : US
92+ revive :
93+ severity : warning
94+ output :
95+ formats :
96+ text :
97+ path : stdout
98+ print-issued-lines : true
99+ print-linter-name : true
100+ run :
101+ concurrency : 4
102+ issues-exit-code : 1
103+ tests : false
104+ version : " 2"
You can’t perform that action at this time.
0 commit comments