cosmos-sdk/server
Dev Ojha 097dd8a164 tools: Add unparam linter (#1443)
* tools: Add unparam linter

unparam detects unused parameters in functions, and a parameter to
a function which only ever takes on one value. The latter is an
indication that more tests are required.

There are many nolints in this PR, as I believe that writing tests
to fix alot of these situations is out of scope for this PR / it
will be changed in future commits. There are some nolints for
when we have to comply to normal api's.

* crypto/keys no longer used by x/gov/client/rest/rest.go
2018-06-29 18:22:24 -04:00
..
config Fixes requested by Rigel: GenTx, config package name 2018-06-13 17:30:16 -07:00
mock tools: Add unparam linter (#1443) 2018-06-29 18:22:24 -04:00
constructors.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00
export.go Merge PR #1227: Set all Error strings 1st letters to lowercase. Fixes issue #1154 2018-06-13 21:13:22 +02:00
init_test.go Added testnet command and localnet targets 2018-06-12 11:25:03 -07:00
init.go tools: Add unparam linter (#1443) 2018-06-29 18:22:24 -04:00
start_test.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00
start.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00
test_helpers.go Merge PR #1438: Tools: Add errcheck linter 2018-06-29 00:52:10 +02:00
testnet.go Merge PR #1438: Tools: Add errcheck linter 2018-06-29 00:52:10 +02:00
tm_cmds.go Merge PR #1248: Sync to tendermint develop's latest revision 2018-06-13 23:44:41 +02:00
util_test.go cwgoes comments, bug fix 2018-04-26 14:26:39 -04:00
util.go Merge PR #1438: Tools: Add errcheck linter 2018-06-29 00:52:10 +02:00