-
Notifications
You must be signed in to change notification settings - Fork 196
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
chore: add golangci-lint as linter #317
Conversation
Looks interesting! Will take a look soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great suggestions with linting! I added some comments/questions.
@mavogel Did you have time to read my comments? |
Yes, @maxekman. I'll pick it up this week :) |
as well as a config and makefile target
6942a5b
to
072d466
Compare
Feel free to resolve the conversations and let discuss how we continue. As my terminal cannot capture all errors, I stored them temporarily into
at local points for not changing the code too much in the first iteration. And from then on remove step by step those linters in future PRs. WDYT? |
Nice work! 👌 I’ll go through the errors in the coming week and try to guess what level of linting/ignores is appropriate for the project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I addad some notes on step naming to be changed be fore merging. I still need to go through the linting errors and decide what to fix etc.
Would it be possible for you to separate out the Makefile command for linting so that appropriate linting settings and fixing linting errors can be done before activating the CI linting? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very useful! 👍
Description
Adds
golangci-lint
as linter, with Makefile target and GH action.We could fixe all the issues and/or disable certain linters on the way: @maxekman WDYT?
Affected Components
Related Issues
#199
Steps to test and verify
make setup
make lint