1+ run :
2+ timeout : 15m0s
3+ linters :
4+ enable :
5+ - containedctx
6+ - depguard
7+ - errname
8+ - errorlint
9+ - exhaustive
10+ - exportloopref
11+ - fatcontext
12+ - ginkgolinter
13+ - gocritic
14+ - goimports
15+ - gosec
16+ - loggercheck
17+ - mirror
18+ - misspell
19+ - noctx
20+ - nolintlint
21+ - perfsprint
22+ - prealloc
23+ - revive
24+ - rowserrcheck
25+ - spancheck
26+ - sqlclosecheck
27+ - testifylint
28+ - unconvert
29+ - whitespace
30+ linters-settings :
31+ exhaustive :
32+ default-signifies-exhaustive : true
33+ goimports :
34+ local-prefixes : github.com/smartcontractkit/chainlink
35+ golint :
36+ min-confidence : 1.0
37+ gosec :
38+ excludes :
39+ - G101
40+ - G104
41+ # - G204
42+ # - G304
43+ # - G404
44+ govet :
45+ enable :
46+ - shadow
47+ revive :
48+ confidence : 0.8
49+ rules :
50+ - name : blank-imports
51+ - name : context-as-argument
52+ - name : context-keys-type
53+ - name : dot-imports
54+ - name : error-return
55+ - name : error-strings
56+ - name : error-naming
57+ - name : exported
58+ - name : if-return
59+ - name : increment-decrement
60+ - name : var-naming
61+ - name : var-declaration
62+ - name : package-comments
63+ - name : range
64+ - name : receiver-naming
65+ - name : time-naming
66+ # - name: unexported-return
67+ - name : indent-error-flow
68+ - name : errorf
69+ - name : empty-block
70+ - name : superfluous-else
71+ # - name: unused-parameter
72+ - name : unreachable-code
73+ - name : redefines-builtin-id
74+ - name : waitgroup-by-value
75+ - name : unconditional-recursion
76+ - name : struct-tag
77+ # - name: string-format
78+ - name : string-of-int
79+ - name : range-val-address
80+ - name : range-val-in-closure
81+ - name : modifies-value-receiver
82+ - name : modifies-parameter
83+ - name : identical-branches
84+ - name : get-return
85+ # - name: flag-parameter
86+ - name : early-return
87+ - name : defer
88+ - name : constant-logical-expr
89+ # - name: confusing-naming
90+ # - name: confusing-results
91+ - name : bool-literal-in-expr
92+ - name : atomic
93+ depguard :
94+ rules :
95+ main :
96+ list-mode : lax
97+ deny :
98+ - pkg : cosmossdk.io/errors
99+ desc : Use the standard library instead
100+ - pkg : github.com/gofrs/uuid
101+ desc : Use github.com/google/uuid instead
102+ - pkg : github.com/jackc/pgx3
103+ desc : Use github.com/jackc/pgx4 instead
104+ - pkg : github.com/jackc/pgx5
105+ desc : Use github.com/jackc/pgx4 instead
106+ - pkg : github.com/satori/go.uuid
107+ desc : Use github.com/google/uuid instead
108+ - pkg : github.com/test-go/testify/assert
109+ desc : Use github.com/stretchr/testify/assert instead
110+ - pkg : github.com/test-go/testify/mock
111+ desc : Use github.com/stretchr/testify/mock instead
112+ - pkg : github.com/test-go/testify/require
113+ desc : Use github.com/stretchr/testify/require instead
114+ # TODO https://smartcontract-it.atlassian.net/browse/BCI-2589
115+ # - pkg: go.uber.org/multierr
116+ # desc: Use the standard library instead, for example https://pkg.go.dev/errors#Join
117+ - pkg : gopkg.in/guregu/null.v1
118+ desc : Use gopkg.in/guregu/null.v4 instead
119+ - pkg : gopkg.in/guregu/null.v2
120+ desc : Use gopkg.in/guregu/null.v4 instead
121+ - pkg : gopkg.in/guregu/null.v3
122+ desc : Use gopkg.in/guregu/null.v4 instead
123+ - pkg : github.com/go-gorm/gorm
124+ desc : Use github.com/jmoiron/sqlx directly instead
0 commit comments