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

Fix remaining linter warnings and add linter GitHub action #9

Merged
merged 9 commits into from
Dec 10, 2020

Conversation

invidian
Copy link
Contributor

@invidian invidian commented Dec 10, 2020

I would like to have automated linting to save time while reviewing the PRs, so reviews can focus on content.

Closes #7.

To resolve lll linter warnings.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
This code is mostly by convention, so there is no real need to fix it,
though we may do that at some point.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
Just enough to silent the golint warnings.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
We may address them at some point.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
Mostly globals which are used by convention, so there is not much we
can do with them unfortunately.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
This commit adds initial configuration for golangci-lint.

Refs tinkerbell#7

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
Right now only running linter.

Closes tinkerbell#7.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
@invidian invidian force-pushed the invidian/fix-remaining-linter-issues branch from 47bd99d to 3d994fd Compare December 10, 2020 06:50
@detiber detiber merged commit ce0fdeb into tinkerbell:main Dec 10, 2020
@invidian invidian deleted the invidian/fix-remaining-linter-issues branch December 10, 2020 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add golangci-lint GitHub action
2 participants