Skip to content

Commit

Permalink
chore(deps): Bump golangci-lint from v1.62.0 to v1.62.2
Browse files Browse the repository at this point in the history
  • Loading branch information
zak-pawel committed Nov 29, 2024
1 parent 2636612 commit 4f9632e
Show file tree
Hide file tree
Showing 8 changed files with 129 additions and 133 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
- run: 'make check-deps'
- run:
name: "Install golangci-lint"
command: go install github.com/golangci/golangci-lint/cmd/[email protected].0
command: go install github.com/golangci/golangci-lint/cmd/[email protected].2
- run:
name: "golangci-lint/Linux"
# There are only 4 vCPUs available for this executor, so use only 4 instead of the default number
Expand All @@ -120,7 +120,7 @@ jobs:
- check-changed-files-or-halt
- run:
name: "Install golangci-lint"
command: go install github.com/golangci/golangci-lint/cmd/[email protected].0
command: go install github.com/golangci/golangci-lint/cmd/[email protected].2
- run:
name: "golangci-lint/macOS"
# There are only 4 vCPUs available for this executor, so use only 4 instead of the default number
Expand All @@ -134,7 +134,7 @@ jobs:
- check-changed-files-or-halt
- run:
name: "Install golangci-lint"
command: go install github.com/golangci/golangci-lint/cmd/[email protected].0
command: go install github.com/golangci/golangci-lint/cmd/[email protected].2
- run:
name: "golangci-lint/Windows"
# There are only 4 vCPUs available for this executor, so use only 4 instead of the default number
Expand Down
7 changes: 3 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,9 @@ linters-settings:
- name: import-shadowing
- name: increment-decrement
- name: indent-error-flow
# Enable again when https://github.com/mgechev/revive/issues/1103 is fixed
# - name: max-public-structs
# exclude: [ "TEST" ]
# arguments: [ 5 ]
- name: max-public-structs
exclude: ["TEST", "~metric.go", "~plugins/common/*"]
arguments: [ 5 ]
- name: modifies-parameter
- name: modifies-value-receiver
- name: optimize-operands-order
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ vet:
.PHONY: lint-install
lint-install:
@echo "Installing golangci-lint"
go install github.com/golangci/golangci-lint/cmd/[email protected].0
go install github.com/golangci/golangci-lint/cmd/[email protected].2

@echo "Installing markdownlint"
npm install -g markdownlint-cli
Expand Down
Loading

0 comments on commit 4f9632e

Please sign in to comment.