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

Pin golangci-lint version to v1.51.2 #7113

Merged
merged 2 commits into from
Mar 20, 2023

Conversation

brooksn
Copy link
Contributor

@brooksn brooksn commented Mar 20, 2023

Proposed Changes

The golangci-lint installer downloads the latest GitHub tag. This PR passes a specified tag to the installer.

Types of Changes

Verification

Testing

Linked Issues

#7114
#7115

User-Facing Change

NONE

Further Comments

Since golangci-lint v1.52.0 was released, a lot of warnings from revive started to appear for these rules:

  • unused-parameter
  • redefines-builtin-id
  • superfluous-else
  • empty-block

They don't appear to be false positives, and it's not immediately clear what changed in the linter. An alternate solution is to fix all these violations now, or to add them all to the exclude list.

Signed-off-by: Brooks Newberry <brooks@newberry.com>
Signed-off-by: Brooks Newberry <brooks@newberry.com>
@brooksn brooksn changed the title Pin golangci-lint version to v1.50.1 Pin golangci-lint version to v1.51.2 Mar 20, 2023
@brooksn brooksn marked this pull request as ready for review March 20, 2023 15:47
@brooksn brooksn requested a review from a team as a code owner March 20, 2023 15:47
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.

None yet

3 participants