Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Make linting checks part of the development process #196

Closed
adrianbrink opened this issue Jul 12, 2017 · 3 comments
Closed

Make linting checks part of the development process #196

adrianbrink opened this issue Jul 12, 2017 · 3 comments
Assignees

Comments

@adrianbrink
Copy link

adrianbrink commented Jul 12, 2017

We should strive to only have very clean code for ethermint.

We currently have two separate linters gometalinter and megacheck.

As such this issue is three fold:

  1. Add an explanation of how to install all our linters.
  2. Update the Makefile so that the linters get run on every test and build run.
  3. Update the CI build steps to fail on linting errors.
@adrianbrink adrianbrink changed the title Make linting part of the CI process Linting should be part of the CI process Jul 23, 2017
@adrianbrink adrianbrink changed the title Linting should be part of the CI process Make linting checks part of the CI process Aug 14, 2017
@adrianbrink adrianbrink changed the title Make linting checks part of the CI process Make linting checks part of the development process Aug 14, 2017
@adrianbrink adrianbrink modified the milestones: 0.5.0, 0.6.0 Aug 14, 2017
@rigelrozanski
Copy link

This should not be specific to ethermint, needs to be streamlined with tendermint coding standards/practices... here https://github.com/tendermint/coding/blob/master/go/coding_standard.md#linters
But also https://github.com/tendermint/coding/

Maybe sync up with @zramsay on this end for the documentation, I know zach has been modifying and organizing the coding repo

@zramsay zramsay self-assigned this Aug 18, 2017
@zramsay
Copy link
Contributor

zramsay commented Aug 18, 2017

I'm assigning myself to tackle the standard (rather then implementation). On points 1 & 2 i think we should just list those standards/explanations/Makefile examples in the coding repo - otherwise every new "major" repo is going to go through the same issues repeatedly.

@adrianbrink
Copy link
Author

Please check https://github.com/tendermint/ethermint/blob/develop/Makefile#L69 to see which linters are running. I've mostly fixed up ethermint that those pass.

adrianbrink pushed a commit that referenced this issue Aug 29, 2017
zramsay added a commit that referenced this issue Aug 29, 2017
adrianbrink pushed a commit that referenced this issue Aug 30, 2017
* linting: address some checks

* add nolint warnings; remove duplicate megacheck from Makefile

* add metalinter to CI, closes #196

* Run metalinter on travis

* metalinter: don't run on CI yet
adrianbrink pushed a commit that referenced this issue Oct 22, 2017
* linting: address some checks

* add nolint warnings; remove duplicate megacheck from Makefile

* add metalinter to CI, closes #196

* Run metalinter on travis

* metalinter: don't run on CI yet
adrianbrink pushed a commit that referenced this issue Oct 22, 2017
* linting: address some checks

* add nolint warnings; remove duplicate megacheck from Makefile

* add metalinter to CI, closes #196

* Run metalinter on travis

* metalinter: don't run on CI yet
adrianbrink pushed a commit that referenced this issue Oct 22, 2017
* linting: address some checks

* add nolint warnings; remove duplicate megacheck from Makefile

* add metalinter to CI, closes #196

* Run metalinter on travis

* metalinter: don't run on CI yet
adrianbrink pushed a commit that referenced this issue Oct 22, 2017
* linting: address some checks

* add nolint warnings; remove duplicate megacheck from Makefile

* add metalinter to CI, closes #196

* Run metalinter on travis

* metalinter: don't run on CI yet
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants