Skip to content

Commit 4449101

Browse files
committed
Update golangci
1 parent e499dbe commit 4449101

File tree

1 file changed

+26
-18
lines changed

1 file changed

+26
-18
lines changed

.golangci.yaml

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,43 @@
11
run:
2-
concurrency: 4
3-
timeout: 5m
2+
timeout: 15m
3+
allow-parallel-runners: true
44
linters:
55
enable:
6-
# defaults
7-
- errcheck
8-
- gosimple
9-
- govet
10-
- ineffassign
11-
- staticcheck
12-
- typecheck
13-
- unused
14-
# extra
6+
- containedctx
7+
- depguard
8+
- errname
9+
- errorlint
1510
- exhaustive
16-
- copyloopvar
17-
- revive
11+
- exportloopref
12+
- fatcontext
13+
- ginkgolinter
14+
- gocritic
1815
- goimports
1916
- gosec
17+
- loggercheck
18+
- mirror
2019
- misspell
21-
- errorlint
22-
- contextcheck
20+
- noctx
21+
- nolintlint
22+
- perfsprint
23+
- prealloc
24+
- revive
25+
- rowserrcheck
26+
- spancheck
27+
- sqlclosecheck
28+
- testifylint
29+
- unconvert
30+
- whitespace
2331
linters-settings:
2432
exhaustive:
2533
default-signifies-exhaustive: true
2634
goimports:
27-
local-prefixes: github.com/smartcontractkit/chainlink-testing-framework/lib
35+
local-prefixes: github.com/smartcontractkit/chainlink-testing-framework
2836
gosec:
2937
exclude-generated: true
3038
govet:
31-
# report about shadowed variables
32-
check-shadowing: false
39+
enable:
40+
- shadow
3341
errorlint:
3442
# Allow formatting of errors without %w
3543
errorf: false

0 commit comments

Comments
 (0)