1- # Options for analysis running
2- linters-settings :
3- dupl :
4- threshold : 100
5- gci :
6- sections :
7- - standard
8- - default
9- - prefix(github.com/bitonicnl/verify-signed-message)
10- - blank
11- - dot
12- skip-generated : false
13- custom-order : true
14- goconst :
15- min-len : 2
16- min-occurrences : 2
17- gocritic :
18- enabled-tags :
19- - diagnostic
20- - experimental
21- - opinionated
22- - performance
23- - style
24- goimports :
25- local-prefixes : github.com/bitonicnl/verify-signed-message
26- misspell :
27- locale : US
1+ version : " 2"
2+
3+ output :
4+ formats :
5+ text :
6+ path : stdout
7+ print-linter-name : true
8+ print-issued-lines : true
289
2910linters :
3011 enable :
@@ -39,15 +20,13 @@ linters:
3920 - dupl
4021 - dupword
4122 - durationcheck
42- - errcheck
4323 - errchkjson
4424 - errname
4525 - errorlint
4626 - exhaustive
4727 - exhaustruct
4828 - forbidigo
4929 - forcetypeassert
50- - gci
5130 - ginkgolinter
5231 - gocheckcompilerdirectives
5332 - gochecknoglobals
@@ -58,21 +37,15 @@ linters:
5837 - gocritic
5938 - gocyclo
6039 - godot
61- - gofmt
62- - gofumpt
6340 - goheader
64- - goimports
6541 - gomoddirectives
6642 - gomodguard
6743 - goprintffuncname
6844 - gosec
69- - gosimple
7045 - gosmopolitan
71- - govet
7246 - grouper
7347 - importas
7448 - inamedparam
75- - ineffassign
7649 - interfacebloat
7750 - ireturn
7851 - loggercheck
@@ -103,44 +76,80 @@ linters:
10376 - spancheck
10477 - sqlclosecheck
10578 - staticcheck
106- - stylecheck
10779 - tagalign
10880 - tagliatelle
109- - tenv
11081 - testableexamples
11182 - testifylint
11283 - testpackage
11384 - thelper
11485 - tparallel
115- - typecheck
11686 - unconvert
11787 - unparam
118- - unused
11988 - usestdlibvars
12089 - wastedassign
12190 - whitespace
12291 - zerologlint
92+ settings :
93+ dupl :
94+ threshold : 100
95+ goconst :
96+ min-len : 2
97+ min-occurrences : 2
98+ gocritic :
99+ enabled-tags :
100+ - diagnostic
101+ - experimental
102+ - opinionated
103+ - performance
104+ - style
105+ misspell :
106+ locale : US
107+ exclusions :
108+ generated : lax
109+ presets :
110+ - comments
111+ - common-false-positives
112+ - legacy
113+ - std-error-handling
114+ rules :
115+ - linters :
116+ - dupword
117+ - exhaustruct
118+ path : _test\.go
119+ paths :
120+ - third_party$
121+ - builtin$
122+ - examples$
123123
124124issues :
125- # Show only new issues: if there are unstaged changes or untracked files,
126- # only those changes are analyzed, else only changes in HEAD~ are analyzed.
127125 new : false
128126
129- # Excluding configuration per-path, per-linter, per-text and per-source
130- exclude-rules :
131- # Exclude some linters from running on tests files
132- - path : _test\.go
133- linters :
134- - dupword
135- - exhaustruct
136-
137- # output configuration options
138- output :
139- # colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
140- formats : [ { format: colored-line-number } ]
141-
142- # print lines of code with issue, default is true
143- print-issued-lines : true
127+ formatters :
128+ enable :
129+ - gci
130+ - gofmt
131+ - gofumpt
132+ - goimports
133+ settings :
134+ gci :
135+ sections :
136+ - standard
137+ - default
138+ - prefix(github.com/bitonicnl/verify-signed-message)
139+ - blank
140+ - dot
141+ custom-order : true
142+ goimports :
143+ local-prefixes :
144+ - github.com/bitonicnl/verify-signed-message
145+ exclusions :
146+ generated : lax
147+ paths :
148+ - third_party$
149+ - builtin$
150+ - examples$
144151
145- # print linter name in the end of issue text, default is true
146- print-linter-name : true
152+ run :
153+ modules-download-mode : readonly
154+ allow-parallel-runners : true
155+ allow-serial-runners : true
0 commit comments