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

Added wsl linter, and fixed related issues #275

Merged
merged 2 commits into from
Feb 27, 2025
Merged

Conversation

enrichman
Copy link
Collaborator

This PR adds the wsl linter.

This linter should improve readability enforcing whitespacing and some general rules, like grouping vars in some cases, or newlines before or after some blocks.

i.e:

var nodeStats statsv1alpha1.NodeStats
var allPodsStats []statsv1alpha1.PodStats
var (
	nodeStats    statsv1alpha1.NodeStats
	allPodsStats []statsv1alpha1.PodStats
)

@enrichman enrichman force-pushed the wsl branch 2 times, most recently from 67f6f71 to 83544c0 Compare February 26, 2025 16:21
@enrichman enrichman marked this pull request as ready for review February 26, 2025 16:58
@enrichman enrichman merged commit 430e18b into rancher:main Feb 27, 2025
4 checks passed
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.

2 participants