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

GODRIVER-2782 Resolve updated revive v1.3.1 lint errors. #1208

Merged
merged 4 commits into from
Apr 3, 2023

Conversation

matthewdale
Copy link
Collaborator

@matthewdale matthewdale commented Mar 22, 2023

GODRIVER-2782

Summary

  • Update pinned golangci-lint version to v1.52.2
  • Resolve all lint errors caused by golangci-lint upgrading revive from v1.3.0 to v1.3.1.

Background & Motivation

The latest version of the golangci-lint tool upgraded revive from v1.3.0 to v1.3.1 (see PR), which adds some additional useful code checks.

@prestonvasquez
Copy link
Collaborator

prestonvasquez commented Mar 29, 2023

@matthewdale These fixes will require updating the CI's instance of "golangci-lint" to latest. It was pinned in PR #1210 to ensure green builds and avoid overlooking other static analysis errors.

@matthewdale
Copy link
Collaborator Author

@prestonvasquez thank you for the heads up! I've updated the pinned version of golangci-lint to v1.52.2.

Copy link
Collaborator

@qingyang-hu qingyang-hu left a comment

Choose a reason for hiding this comment

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

LGTM

@matthewdale matthewdale merged commit 705e61a into mongodb:master Apr 3, 2023
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.

3 participants