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

golangci-lint: switch to fieldalignment #1306

Merged
merged 2 commits into from
May 6, 2021

Conversation

skitt
Copy link
Member

@skitt skitt commented May 4, 2021

fieldalignment replaces maligned. Errors related to pointer ordering
(for GC) are ignored; see golang/go#44877
for details.

Fixes: #1252
Signed-off-by: Stephen Kitt skitt@redhat.com

@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr1306/skitt/fieldalignment

@skitt skitt requested a review from dfarrell07 May 4, 2021 16:29
@@ -11,10 +11,11 @@ linters-settings:
- unnamedResult
gocyclo:
min-complexity: 20
govet:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird that it's under govet now, good job finding that.

fieldalignment replaces maligned. Errors related to pointer ordering
(for GC) are ignored; see golang/go#44877
for details.

Fixes: submariner-io#1252
Signed-off-by: Stephen Kitt <skitt@redhat.com>
@skitt skitt marked this pull request as ready for review May 5, 2021 16:04
@tpantelis tpantelis merged commit 53eff14 into submariner-io:devel May 6, 2021
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr1306/skitt/fieldalignment]

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.

Move to fieldalignment linter from deprecated maligned linter
4 participants