Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre Golang-CI Linting Errors #1912

Closed
jtlisi opened this issue Dec 13, 2019 · 6 comments · Fixed by #2008
Closed

Pre Golang-CI Linting Errors #1912

jtlisi opened this issue Dec 13, 2019 · 6 comments · Fixed by #2008
Labels
type/chore Something that needs to be done; not a bug or a feature

Comments

@jtlisi
Copy link
Contributor

jtlisi commented Dec 13, 2019

With Cortex moving to golang-ci (#1853) as things stand there are a large number of issues being detected by the linter. We should look into rectifying those errors. These errors will not affect CI because #1853 will not throw an issue for errors that existed before it was merged.

@jtlisi jtlisi added type/chore Something that needs to be done; not a bug or a feature help wanted hacktoberfest labels Dec 13, 2019
@bboreham
Copy link
Contributor

I fixed all the ones reported in #1853. Perhaps this issue relates to the ones in the code from before?

@jtlisi
Copy link
Contributor Author

jtlisi commented Dec 13, 2019

@bboreham Yea all of the linting issues from before.

@jtlisi jtlisi changed the title GolangCI Linting Errors Pre Golang-CI Linting Errors Dec 13, 2019
@nrchakradhar
Copy link

@jtlisi @bboreham Where can I find the list of errors so that I can attempt to fix them? Thanks

@pracucci
Copy link
Contributor

pracucci commented Jan 20, 2020

@nrchakradhar Instead of manually spotting linting issues, you may just want to run make lint locally editing the Makefile to remove --new-from-rev ed7c302fd968. You may end up with many issues to fix; if you will work on this, could be wise to split the fixes into multiple (smaller) PRs, in order to facilitate the reviewers' work.

@nrchakradhar
Copy link

@pracucci I will try running locally and see.

@zendern
Copy link
Contributor

zendern commented Jan 20, 2020

@nrchakradhar i just opened a PR to fix almost all the issues. I would have commented sooner but was on a plane. Take a look if you are interested or have any feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/chore Something that needs to be done; not a bug or a feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants