generated from flashbots/flashbots-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.golangci.yaml
50 lines (48 loc) · 828 Bytes
/
.golangci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
linters:
enable-all: true
disable:
- depguard
- dupl
- exhaustruct
- funlen
- gochecknoglobals
- gochecknoinits
- gocritic
- godot
- godox
- inamedparam
- intrange
- lll
- mnd
- musttag
- nlreturn
- nonamedreturns
- paralleltest
- perfsprint
- revive
- tenv
- testifylint
- testpackage
- varnamelen
- wrapcheck
- wsl
#
# Disabled because of generics:
#
- contextcheck
- rowserrcheck
- sqlclosecheck
- wastedassign
linters-settings:
cyclop:
max-complexity: 20
tagliatelle:
case:
rules:
json: snake
gofumpt:
extra-rules: true
gomoddirectives:
replace-allow-list:
- github.com/attestantio/go-builder-client
- github.com/attestantio/go-eth2-client