File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# https://golangci-lint.run/usage/configuration
2- version : " 2"
3-
42run :
53 timeout : 5m
64 tests : true
@@ -24,40 +22,34 @@ linters:
2422 - noctx
2523 - prealloc
2624 - whitespace
27- settings :
28- errcheck :
29- check-type-assertions : true
30- check-blank : false
31- staticcheck :
32- checks :
33- - all
34- - ' -QF1008' # Allow embedded structs to be referenced by field
35- - ' -ST1000' # Do not require package comments
36- govet :
37- enable-all : true
38- disable :
39- - fieldalignment
40- revive :
41- rules :
42- - name : exported
43- disabled : true
44- - name : package-comments
45- disabled : true
46-
47- formatters :
48- enable :
4925 - gofmt
5026 - goimports
51- settings :
52- goimports :
53- local-prefixes :
54- - github.com/flashcatcloud
27+
28+ linters-settings :
29+ errcheck :
30+ check-type-assertions : true
31+ check-blank : false
32+ staticcheck :
33+ checks :
34+ - all
35+ - " -QF1008" # Allow embedded structs to be referenced by field
36+ - " -ST1000" # Do not require package comments
37+ govet :
38+ enable-all : true
39+ disable :
40+ - fieldalignment
41+ revive :
42+ rules :
43+ - name : exported
44+ disabled : true
45+ - name : package-comments
46+ disabled : true
47+ goimports :
48+ local-prefixes : github.com/flashcatcloud
5549
5650output :
5751 formats :
58- text :
59- print-linter-name : true
60- print-issued-lines : true
52+ - name : colored-line-number
6153
6254issues :
6355 exclude-rules :
You can’t perform that action at this time.
0 commit comments