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

Enable additional linters #1157

Merged
merged 4 commits into from
Dec 11, 2019
Merged

Enable additional linters #1157

merged 4 commits into from
Dec 11, 2019

Conversation

nfnt
Copy link
Member

@nfnt nfnt commented Dec 10, 2019

What this PR does / why we need it:
This PR is enabling the gosec and unparam linters in golangci-lint. It'll allow us to detect possible security issues in our code (gosec) as well as code smells (unparam).
Furthermore, all nolint comments have been updated to provide the excluded linter and gofmt has been disabled because its functionality is already provided by goimports.

The 'goimports' linter already formats code like 'gofmt'.
Copy link
Contributor

@zen-dog zen-dog left a comment

Choose a reason for hiding this comment

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

🚢

Copy link
Contributor

@alenkacz alenkacz left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@nfnt nfnt merged commit b40e01e into master Dec 11, 2019
@nfnt nfnt deleted the nfnt/additional-linters branch December 11, 2019 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants