Skip to content

[deckhouse-cli] chore: add wsl_v5 linter and fix #363

Open
fuldaxxx wants to merge 1 commit into
mainfrom
feat/add-wsl_v5_linter
Open

[deckhouse-cli] chore: add wsl_v5 linter and fix #363
fuldaxxx wants to merge 1 commit into
mainfrom
feat/add-wsl_v5_linter

Conversation

@fuldaxxx
Copy link
Copy Markdown
Member

@fuldaxxx fuldaxxx commented May 21, 2026

Description

Added the wsl_v5 linter to .golangci.yaml and fixed all resulting violations across 208 files by inserting blank lines where required by the wsl (whitespace) rule. The wsl_v5 linter enforces consistent blank line placement in Go code - specifically, it requires blank lines before return, break, continue, and after multi-line block openings, among other rules.

Changes

  • Enabled the wsl_v5 linter in .golangci.yaml
  • Added blank lines throughout the codebase to satisfy wsl_v5 rules — no logic changes, only formatting

@fuldaxxx fuldaxxx self-assigned this May 21, 2026
@fuldaxxx fuldaxxx added the enhancement New feature or request label May 21, 2026
@fuldaxxx fuldaxxx marked this pull request as ready for review May 21, 2026 14:01
@fuldaxxx fuldaxxx requested a review from ldmonster as a code owner May 21, 2026 14:01
@fuldaxxx fuldaxxx changed the title [deckhouse-cli] feat: add wsl_v5 linter and fix [deckhouse-cli] chore: add wsl_v5 linter and fix May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant