Skip to content

Fix golangci-lint issues across codebase#13

Merged
andrew merged 1 commit intomainfrom
fix-lint-issues
Mar 29, 2026
Merged

Fix golangci-lint issues across codebase#13
andrew merged 1 commit intomainfrom
fix-lint-issues

Conversation

@andrew
Copy link
Copy Markdown
Contributor

@andrew andrew commented Mar 18, 2026

Reduce cognitive complexity in ParseVersion and compareMavenComponentsNew by extracting focused helper functions. Convert if-else chains to switch statements in interval and test code. Remove unused flip parameter from compareMavenToNull. Collapse duplicate branch in parsePessimisticRange. Suppress goconst/mnd for test literals and domain-specific values.

Reduce cognitive complexity in ParseVersion and compareMavenComponentsNew
by extracting focused helper functions. Convert if-else chains to switch
statements in interval and test code. Remove unused flip parameter from
compareMavenToNull. Collapse duplicate branch in parsePessimisticRange.
Suppress goconst/mnd for test literals and domain-specific values.
@andrew andrew merged commit d564edf into main Mar 29, 2026
2 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.

1 participant