Debian Codegraph @

.golangci.yml

raw symbols SCIP
1 version: "2"
2 linters:
3 default: none
4 enable:
5 - bodyclose
6 - dogsled
7 - dupl
8 - errcheck
9 - gochecknoinits
10 - goconst
11 - gocritic
12 - gocyclo
13 - godot
14 - gosec
15 - govet
16 - ineffassign
17 - misspell
18 - nakedret
19 - prealloc
20 - revive
21 - staticcheck
22 - unconvert
23 - unparam
24 - unused
25 - whitespace
26 exclusions:
27 generated: lax
28 presets:
29 - comments
30 - common-false-positives
31 - legacy
32 - std-error-handling
33 rules:
34 - linters:
35 - goconst
36 - prealloc
37 path: _test\.go
38 - linters:
39 - gosec
40 path: _test\.go
41 text: 'G306:'
42 - linters:
43 - unused
44 path: errors_test\.go
45 - linters:
46 - bodyclose
47 - errcheck
48 path: http/example_test\.go
49 paths:
50 - third_party$
51 - builtin$
52 - examples$
53 formatters:
54 enable:
55 - gofmt
56 - goimports
57 exclusions:
58 generated: lax
59 paths:
60 - third_party$
61 - builtin$
62 - examples$