Debian Codegraph @

.golangci.yml

raw symbols SCIP
1 run:
2 # timeout for analysis, e.g. 30s, 5m, default is 1m
3 deadline: 30s
4
5 # exit code when at least one issue was found, default is 1
6 issues-exit-code: 1
7
8 # include test files or not, default is true
9 tests: true
10
11 # all available settings of specific linters
12 linters-settings:
13 gocyclo:
14 min-complexity: 20
15 maligned:
16 suggest-new: true
17 dupl:
18 threshold: 100
19 goconst:
20 min-len: 3
21 min-occurrences: 2
22 depguard:
23 lll:
24 line-length: 160
25 nakedret:
26 max-func-lines: 10
27
28 linters:
29 enable:
30 - exportloopref
31 - megacheck
32 - govet
33 - gosec
34 - unconvert
35 - goconst
36 - gocyclo
37 - gofmt
38 - lll
39 - revive
40 - unparam
41 - nakedret
42 - misspell
43 disable:
44 - exhaustive
45 enable-all: false
46 disable-all: false
47 presets:
48 - bugs
49 - unused
50 fast: false
51
52 issues: