Skip to content

GolangCI-Lint Added with Happy Linter #7

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

Merged
merged 4 commits into from
Aug 6, 2020

Conversation

kensipe
Copy link
Member

@kensipe kensipe commented Aug 5, 2020

Signed-off-by: Ken Sipe [email protected]

@kensipe
Copy link
Member Author

kensipe commented Aug 5, 2020

I tool 1 approach for fixing "using-reference-to-loop-iterator-variable" of not ignoring the index and using the index into the collection... but it could have be solved with s := s which is more and more common. Let me know if you prefer that.

@kensipe
Copy link
Member Author

kensipe commented Aug 5, 2020

It's worth adding

golangci-lint version
golangci-lint has version 1.29.0

I'm happy to add details to the Makefile + scripts here or on another PR

@joelanford
Copy link
Member

Awesome! Yeah let's add a lint target and a step in the github actions workflows.

@kensipe
Copy link
Member Author

kensipe commented Aug 5, 2020

roger that

@kensipe
Copy link
Member Author

kensipe commented Aug 6, 2020

@joelanford rebased and ready to go

Copy link
Member

@joelanford joelanford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Thanks!

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2020
@joelanford joelanford merged commit e3160b0 into operator-framework:main Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants