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

cicd: Enable additional linters #60

Merged
merged 11 commits into from
Oct 9, 2023
Merged

Conversation

elevran
Copy link
Collaborator

@elevran elevran commented Oct 3, 2023

This PR enables additional linters. The list represents (what I think is) a reasonable set of linters that should be run in CICD.
However, some linters are currently disabled in the golangci.yaml configuration as the existing code does not pass the checks.

Future PRs can update the linter set or their configuration by removing the commented out lines and setting issues.new: false in golangci.yaml and then running make lint and fixing any reported issues. This work will tracked in a #61.

Signed-off-by: Etai Lev Ran <[email protected]>
Signed-off-by: Etai Lev Ran <[email protected]>
All existing code passes enabled linters with their specific configuration
Configured to run linters on new code only.

Commented out linters and/or configuration options can be enabled individually
alongside needed code changes.

Signed-off-by: Etai Lev Ran <[email protected]>
@elevran elevran added the cicd CICD or build related label Oct 3, 2023
Makefile Show resolved Hide resolved
.golangci.yaml Show resolved Hide resolved
@elevran elevran merged commit 08b04db into clusterlink-net:main Oct 9, 2023
@elevran elevran deleted the golangci branch October 9, 2023 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd CICD or build related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants