Skip to content

Commit

Permalink
chore: bump golangci-lint to v1.60.2
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase committed Oct 2, 2024
1 parent 57ccd76 commit 4a86afa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ linters:
# Run with --fast=false for more extensive checks
fast: true

issues:
# default: 50
max-issues-per-linter: 0
exclude-rules:
- text: "unused-parameter: parameter '.*' seems to be unused, consider removing or renaming it as _"
linters:
- revive

linters-settings:
goimports:
local-prefixes: github.com/Azure/azure-workload-identity
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ KUSTOMIZE_VER := v4.1.2
KUSTOMIZE_BIN := kustomize
KUSTOMIZE := $(TOOLS_BIN_DIR)/$(KUSTOMIZE_BIN)-$(KUSTOMIZE_VER)

GOLANGCI_LINT_VER := v1.52.2
GOLANGCI_LINT_VER := v1.60.2
GOLANGCI_LINT_BIN := golangci-lint
GOLANGCI_LINT := $(TOOLS_BIN_DIR)/$(GOLANGCI_LINT_BIN)-$(GOLANGCI_LINT_VER)

Expand Down Expand Up @@ -365,7 +365,7 @@ clean:

.PHONY: lint
lint: $(GOLANGCI_LINT)
$(GOLANGCI_LINT) run -v
$(GOLANGCI_LINT) run -v --timeout 5m

.PHONY: helm-lint
helm-lint: $(HELM)
Expand Down

0 comments on commit 4a86afa

Please sign in to comment.