Debian Codegraph @

.golangci.yml

raw symbols SCIP
1 version: "2"
2 linters:
3 default: standard
4 enable:
5 - depguard
6 - goconst
7 - godot
8 - grouper
9 - misspell
10 - perfsprint
11 - thelper
12 - unconvert
13 - unparam
14 disable:
15 - errcheck
16 settings:
17 depguard:
18 rules:
19 main:
20 files:
21 - $all
22 allow:
23 - $gostd
24 - github.com/traefik/yaegi
25 goconst:
26 min-len: 3
27 min-occurrences: 3
28 misspell:
29 locale: US
30 staticcheck:
31 checks: ["all", "-ST1000", "-ST1023", "-QF1001", "-QF1008", "-QF1011"]
32 exclusions:
33 generated: lax
34 rules:
35 - linters:
36 - goconst
37 path: .+_test\.go
38 - path: .+_test\.go
39 text: 'var-declaration:'
40 - path: interp/interp.go
41 text: '`in` can be `io.Reader`'
42 - path: interp/interp.go
43 text: '`out` can be `io.Writer`'
44 - path: interp/interp.go
45 text: '`Panic` should conform to the `XxxError` format'
46 - linters:
47 - thelper
48 path: interp/interp_eval_test.go
49 - linters:
50 - containedctx
51 path: interp/debugger.go
52 - path: (.+)\.go$
53 text: fmt.Sprintf can be replaced with string
54 paths:
55 - third_party$
56 - builtin$
57 - examples$
58 issues:
59 max-issues-per-linter: 0
60 max-same-issues: 0
61 formatters:
62 enable:
63 - gci
64 - gofmt
65 - gofumpt
66 - goimports
67 exclusions:
68 generated: lax
69 paths:
70 - third_party$
71 - builtin$
72 - examples$