Debian Codegraph @

.golangci.yml

raw symbols SCIP
1 version: "2"
2 linters:
3 default: all
4 disable:
5 - cyclop
6 - depguard
7 - dupl
8 - err113
9 - errorlint
10 - exhaustive
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 - perfsprint
36 - staticcheck
37 - recvcheck
38 - tagliatelle
39 - testifylint
40 - testpackage
41 - thelper
42 - varnamelen
43 - wrapcheck
44 - wsl
45 - wsl_v5
46 settings:
47 govet:
48 disable:
49 - shadow
50 - fieldalignment
51 enable-all: true
52 exclusions:
53 generated: lax
54 presets:
55 - comments
56 - common-false-positives
57 - legacy
58 - std-error-handling
59 rules:
60 - linters:
61 - contextcheck
62 - exhaustruct
63 path: /*.go
64 - linters:
65 - errcheck
66 - errchkjson
67 - forcetypeassert
68 - goconst
69 path: _test\.go
70 paths:
71 - third_party$
72 - builtin$
73 - examples$
74 issues:
75 max-issues-per-linter: 0
76 max-same-issues: 0
77 formatters:
78 enable:
79 - gofmt
80 - goimports
81 exclusions:
82 generated: lax
83 paths:
84 - third_party$
85 - builtin$
86 - examples$