forked from strangelove-ventures/horcrux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.golangci.yml
103 lines (101 loc) · 3.14 KB
/
.golangci.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
linters:
enable:
- bodyclose
- dogsled
- goconst
- gocritic
- gofmt
- goimports
- gosec
- gosimple
- govet
- importas
- ineffassign
- lll
- misspell
- nakedret
- prealloc
- revive
- staticcheck
- stylecheck
- typecheck
- unconvert
- unused
- nolintlint
linters-settings:
dogsled:
max-blank-identifiers: 3
importas:
no-extra-aliases: true
alias:
- pkg: github.com/cosmos/cosmos-sdk/crypto/codec
alias: cryptocodec
- pkg: github.com/cosmos/cosmos-sdk/crypto/types
alias: cryptotypes
- pkg: github.com/cosmos/cosmos-sdk/x/slashing/types
alias: slashingtypes
- pkg: github.com/cometbft/cometbft/types
alias: comet
- pkg: github.com/cometbft/cometbft/config
alias: cometconfig
- pkg: github.com/cometbft/cometbft/crypto
alias: cometcrypto
- pkg: github.com/cometbft/cometbft/crypto/ed25519
alias: cometcryptoed25519
- pkg: github.com/cometbft/cometbft/crypto/encoding
alias: cometcryptoencoding
- pkg: github.com/tendermint/go-amino
alias: amino
- pkg: github.com/cometbft/cometbft/libs/bytes
alias: cometbytes
- pkg: github.com/cometbft/cometbft/libs/json
alias: cometjson
- pkg: github.com/cometbft/cometbft/libs/log
alias: cometlog
- pkg: github.com/cometbft/cometbft/libs/net
alias: cometnet
- pkg: github.com/cometbft/cometbft/libs/os
alias: cometos
- pkg: github.com/cometbft/cometbft/libs/rand
alias: cometrand
- pkg: github.com/cometbft/cometbft/libs/service
alias: cometservice
- pkg: github.com/cometbft/cometbft/p2p/conn
alias: cometp2pconn
- pkg: github.com/cometbft/cometbft/privval
alias: cometprivval
- pkg: github.com/cometbft/cometbft/proto/tendermint/types
alias: cometproto
- pkg: github.com/cometbft/cometbft/proto/tendermint/crypto
alias: cometprotocrypto
- pkg: github.com/cometbft/cometbft/proto/tendermint/privval
alias: cometprotoprivval
- pkg: github.com/cometbft/cometbft/rpc/client
alias: cometrpcclient
- pkg: github.com/cometbft/cometbft/rpc/client/http
alias: cometrpchttp
- pkg: github.com/cometbft/cometbft/rpc/jsonrpc/client
alias: cometrpcjsonclient
- pkg: github.com/cometbft/cometbft/rpc/jsonrpc/types
alias: cometrpcjsontypes
- pkg: github.com/cometbft/cometbft/rpc/core/types
alias: cometrpctypes
- pkg: github.com/grpc-ecosystem/go-grpc-middleware/retry
alias: grpcretry
- pkg : github.com/kraken-hpc/go-fork
alias: fork
- pkg: github.com/armon/go-metrics/prometheus
alias: gmprometheus
- pkg: github.com/mitchellh/go-homedir
alias: homedir
- pkg: gitlab.com/unit410/threshold-ed25519/pkg
alias: tsed25519
- pkg: github.com/Jille/raft-grpc-transport
alias: raftgrpctransport
- pkg: github.com/hashicorp/raft-boltdb/v2
alias: boltdb
maligned:
suggest-new: true
govet:
misspell:
locale: US