Debian Codegraph @

.golangci.yml

raw symbols SCIP
1 version: "2"
2 run:
3 concurrency: 4
4 modules-download-mode: readonly
5 issues-exit-code: 1
6 tests: true
7 output:
8 formats:
9 text:
10 path: stdout
11 print-linter-name: true
12 print-issued-lines: true
13 linters:
14 default: none
15 enable:
16 - forbidigo
17 - govet
18 - ineffassign
19 - misspell
20 - staticcheck
21 - unused
22 settings:
23 errcheck:
24 check-type-assertions: false
25 check-blank: false
26 forbidigo:
27 forbid:
28 - pattern: ^fmt\.Print(f|ln)?$
29 govet:
30 settings:
31 printf:
32 funcs:
33 - (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof
34 - (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf
35 - (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf
36 - (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf
37 misspell:
38 locale: US
39 staticcheck:
40 checks:
41 - all
42 - -QF*
43 - -ST1003
44 - -ST1016
45 exclusions:
46 generated: lax
47 presets:
48 - comments
49 - common-false-positives
50 - legacy
51 - std-error-handling
52 rules:
53 - linters:
54 - forbidigo
55 path: main.go
56 - linters:
57 - forbidigo
58 source: "nats-server: v%s"
59 - linters:
60 - forbidigo
61 path: server/opts.go
62 - linters:
63 - forbidigo
64 path: _test.go
65 paths:
66 - .github
67 - doc
68 - docker
69 - logos
70 - scripts
71 - util
72 - third_party$
73 - builtin$
74 - examples$
75 formatters:
76 enable:
77 - goimports
78 exclusions:
79 generated: lax
80 paths:
81 - .github
82 - doc
83 - docker
84 - logos
85 - scripts
86 - util
87 - third_party$
88 - builtin$
89 - examples$