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 linting errors #369

Merged
merged 6 commits into from
Sep 30, 2021
Merged

Fix linting errors #369

merged 6 commits into from
Sep 30, 2021

Conversation

jmorganca
Copy link
Contributor

@jmorganca jmorganca commented Sep 30, 2021

Some housecleaning to fix our linter errors after adding golangci-lint

Note that I've disabled the bodyclose linter and added a few more standard ones since it creates a bunch of false positive cases with our go OpenAPI client.

@jmorganca jmorganca changed the title [wip] Fix linting errors Fix linting errors Sep 30, 2021
@jmorganca jmorganca merged commit d06fb21 into main Sep 30, 2021
@@ -1,5 +1,5 @@
//Based on https://github.com/spf13/cobra/blob/master/doc/md_docs.go
Copy link
Collaborator

Choose a reason for hiding this comment

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

Might be worth skipping this file as well since it's generated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah this is still written by us to generate the CLI docs

@mxyng mxyng deleted the lint branch October 1, 2021 20:08
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.

None yet

3 participants