File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- linters-settings :
2- staticcheck :
3- checks : [
4- " all" ,
5- " -SA1019" # There are valid use cases of strings.Title
6- ]
7- nakedret :
8- max-func-lines : 0 # Disallow any unnamed return statement
9-
1+ version : " 2"
102linters :
113 enable :
124 - unused
@@ -15,10 +7,27 @@ linters:
157 - govet
168 - ineffassign
179 - staticcheck
18- - typecheck
1910 - nakedret
20- - gofmt
2111 - rowserrcheck
2212 - unconvert
23- - goimports
2413 - unparam
14+ settings :
15+ staticcheck :
16+ checks :
17+ - all
18+ - " -SA1019" # There are valid use cases of strings.Title
19+ nakedret :
20+ max-func-lines : 0 # Disallow any unnamed return statement
21+ exclusions :
22+ generated : lax
23+ presets :
24+ - comments
25+ - common-false-positives
26+ - legacy
27+ - std-error-handling
28+ formatters :
29+ enable :
30+ - gofmt
31+ - goimports
32+ exclusions :
33+ generated : lax
You can’t perform that action at this time.
0 commit comments