Skip to content

Commit

Permalink
Bump golangci-lint
Browse files Browse the repository at this point in the history
Bump the golangci-lint version to the newest that still supports 1.20
and removed disabled checks that passing now.
  • Loading branch information
gibizer authored and openshift-merge-bot[bot] committed Feb 16, 2024
1 parent 608567b commit 533a9f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,5 @@ linters:
- ginkgolinter
- gofmt
- govet
linters-settings:
revive:
rules:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
- name: unused-parameter
severity: warning
disabled: true
run:
timeout: 5m
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
- id: go-mod-tidy

- repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
rev: v1.54.2
hooks:
- id: golangci-lint
args: ["--verbose"]
Expand Down

0 comments on commit 533a9f5

Please sign in to comment.