go-pulse/cmd
Martin Holst Swende a907d7e81a
all: more linters (#24783)
This enables the following linters

- typecheck
- unused
- staticcheck
- bidichk
- durationcheck
- exportloopref
- gosec

WIth a few exceptions.

- We use a deprecated protobuf in trezor. I didn't want to mess with that, since I cannot meaningfully test any changes there.
- The deprecated TypeMux is used in a few places still, so the warning for it is silenced for now.
- Using string type in context.WithValue is apparently wrong, one should use a custom type, to prevent collisions between different places in the hierarchy of callers. That should be fixed at some point, but may require some attention.
- The warnings for using weak random generator are squashed, since we use a lot of random without need for cryptographic guarantees.
2022-06-13 16:24:45 +02:00
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen accounts/abi/bind: fix duplicate field names in the generated go struct (#24924) 2022-06-07 08:38:54 +02:00
bootnode les: switch to new discv5 (#21940) 2021-01-26 21:41:35 +01:00
checkpoint-admin cmd/clef: change --rpcport to --http.port and update flags in docs (#21318) 2020-07-14 10:35:32 +02:00
clef all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
devp2p all: more linters (#24783) 2022-06-13 16:24:45 +02:00
ethkey all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
evm all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
faucet all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
geth all: more linters (#24783) 2022-06-13 16:24:45 +02:00
p2psim cmd/*: refactor get flag value (#24761) 2022-04-26 09:32:31 +02:00
puppeth all: more linters (#24783) 2022-06-13 16:24:45 +02:00
rlpdump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
utils all: more linters (#24783) 2022-06-13 16:24:45 +02:00