cosmos-sdk/x/gov
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
..
client tools: Add unparam linter (#1443) 2018-06-29 18:22:24 -04:00
depositsvotes.go Merge PR #1357: RESTful governance endpoints 2018-06-28 01:49:59 +02:00
endblocker_test.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00
errors.go Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
genesis.go Merge PR #1438: Tools: Add errcheck linter 2018-06-29 00:52:10 +02:00
handler.go tools: Add unparam linter (#1443) 2018-06-29 18:22:24 -04:00
keeper.go tools: Add unparam linter (#1443) 2018-06-29 18:22:24 -04:00
keeper_keys.go Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
keeper_test.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00
msgs.go Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
msgs_test.go Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
procedures.go Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
proposals.go Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
tally.go tools: Add unparam linter (#1443) 2018-06-29 18:22:24 -04:00
tally_test.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00
test_common.go Ledger integration (#931) 2018-06-29 02:54:47 +02:00
wire.go Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00