Debian Codegraph @

.golangci.yml

raw symbols SCIP
1 version: "2"
2 linters:
3 default: all
4 disable:
5 - cyclop
6 - depguard
7 - dupl
8 - errorlint
9 - exhaustive
10 - forbidigo
11 - funcorder
12 - funlen
13 - gochecknoglobals
14 - gochecknoinits
15 - gocognit
16 - gocritic
17 - gocyclo
18 - godot
19 - godox
20 - gosec
21 - gosmopolitan
22 - govet
23 - inamedparam
24 - ireturn
25 - lll
26 - maintidx
27 - makezero
28 - mnd
29 - nakedret
30 - nestif
31 - nlreturn
32 - noinlineerr
33 - nonamedreturns
34 - paralleltest
35 - tagliatelle
36 - testpackage
37 - thelper
38 - varnamelen
39 - wrapcheck
40 - wsl
41 - wsl_v5
42 settings:
43 govet:
44 disable:
45 - shadow
46 - fieldalignment
47 enable-all: true
48 exclusions:
49 generated: lax
50 presets:
51 - comments
52 - common-false-positives
53 - legacy
54 - std-error-handling
55 rules:
56 - linters:
57 - staticcheck
58 path: /*.go
59 text: 'ST1003: should not use underscores in package names'
60 - linters:
61 - revive
62 path: /*.go
63 text: don't use an underscore in package name
64 - linters:
65 - contextcheck
66 - exhaustruct
67 path: /*.go
68 - linters:
69 - errcheck
70 path: /main.go
71 - linters:
72 - errcheck
73 - errchkjson
74 - forcetypeassert
75 path: /*_test.go
76 - linters:
77 - forbidigo
78 path: /*_example_test.go
79 paths:
80 - third_party$
81 - builtin$
82 - examples$
83 issues:
84 max-issues-per-linter: 0
85 max-same-issues: 0
86 formatters:
87 enable:
88 - gofmt
89 - goimports
90 exclusions:
91 generated: lax
92 paths:
93 - third_party$
94 - builtin$
95 - examples$