zegl / kube-score

Kubernetes object analysis with recommendations for improved reliability and security. kube-score actively prevents downtime and bugs in your Kubernetes YAML and Charts. Static code analysis for Kubernetes.
https://kube-score.com
MIT License
2.72k stars 174 forks source link

Introduce golangci-lint #438

Closed atombrella closed 2 years ago

atombrella commented 2 years ago

There are some commented out linters that create a fair share of warnings, e.g., govet. Don't know how you feel about fixing the warnings from them, before merging.

zegl commented 2 years ago

This is really nice! I'll merge this and we can work to enable more linters over time. 👍

bors[bot] commented 2 years ago

Build succeeded:

atombrella commented 2 years ago

This is really nice! I'll merge this and we can work to enable more linters over time. +1

:tada: You can consider creating an issue with the label good first issue to enable the remaining linters, and possibly also adding the label hacktoberfest to the repository. The cyclomatic complexity setting of 35 seems like a hack.

zegl commented 2 years ago

Smart, let's do it. :-)