File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ run :
2+ # Timeout for analysis, e.g. 30s, 5m.
3+ # Default: 1m
4+ timeout : 3m
5+
6+ linters-settings :
7+ cyclop :
8+ # The maximal code complexity to report.
9+ # Default: 10
10+ max-complexity : 15
11+ # The maximal average package complexity.
12+ # If it's higher than 0.0 (float) the check is enabled
13+ # Default: 0.0
14+ package-average : 0.5
15+ # Should ignore tests.
16+ # Default: false
17+ skip-tests : false
18+
19+ govet :
20+ # Report about shadowed variables.
21+ # Default: false
22+ check-shadowing : true
23+ # Enable all analyzers.
24+ enable-all : true
25+
26+ misspell :
27+ # Correct spellings using locale preferences for US or UK.
28+ # Setting locale to US will correct the British spelling of 'colour' to 'color'.
29+ # Default is to use a neutral variety of English.
30+ locale : US
31+
32+ linters :
33+ # Disable all linters.
34+ # Default: false
35+ disable-all : true
36+ # Enable specific linter
37+ # https://golangci-lint.run/usage/linters/#enabled-by-default
38+ enable :
39+ # Default
40+ - errcheck
41+ - gosimple
42+ - govet
43+ - ineffassign
44+ - staticcheck
45+ - unused
46+ # Other linters for report card
47+ - gofmt
48+ - gocyclo
49+ - misspell
You can’t perform that action at this time.
0 commit comments