go-ethereum/cmd/geth
Martin Holst Swende a907d7e81a
all: more linters ()
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
..
testdata cmd/geth: update vulnerabilities.json testdata () 2022-05-16 13:41:36 +02:00
accountcmd_test.go all: replace non-trivial uses of package ioutil with os () 2022-05-17 14:27:04 +02:00
accountcmd.go all: more linters () 2022-06-13 16:24:45 +02:00
chaincmd.go cmd/geth: fix init genesis for dev () 2022-05-04 16:14:14 +02:00
config.go cmd/geth: exit when freezer has legacy receipts () 2022-05-26 09:22:10 +02:00
consolecmd_test.go params: set ropsten TTD for TheMerge () 2022-05-16 07:32:56 +03:00
consolecmd.go cmd: group network and db path flags together () 2022-05-03 08:46:17 +02:00
dao_test.go all: replace uses of ioutil with io and os () 2022-05-16 11:59:35 +02:00
dbcmd.go all: introduce trie owner notion () 2022-06-06 17:14:55 +02:00
genesis_test.go all: replace uses of ioutil with io and os () 2022-05-16 11:59:35 +02:00
les_test.go all: more linters () 2022-06-13 16:24:45 +02:00
main.go cmd/geth: exit when freezer has legacy receipts () 2022-05-26 09:22:10 +02:00
misccmd.go core, eth: split eth package, implement snap protocol () 2020-12-14 10:27:15 +01:00
run_test.go all: use T.TempDir to create temporary test directories () 2022-04-08 15:44:55 +02:00
snapshot.go all: introduce trie owner notion () 2022-06-06 17:14:55 +02:00
usage.go cmd/geth: exit when freezer has legacy receipts () 2022-05-26 09:22:10 +02:00
version_check_test.go all: replace non-trivial uses of package ioutil with os () 2022-05-17 14:27:04 +02:00
version_check.go all: replace uses of ioutil with io and os () 2022-05-16 11:59:35 +02:00