chore(deps): Bump golangci-lint from v1.62.0 to v1.62.2 (#16250)
This commit is contained in:
parent
3fb767e4a7
commit
598079ad64
|
|
@ -106,7 +106,7 @@ jobs:
|
|||
- run: 'make check-deps'
|
||||
- run:
|
||||
name: "Install golangci-lint"
|
||||
command: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.0
|
||||
command: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2
|
||||
- run:
|
||||
name: "golangci-lint/Linux"
|
||||
# There are only 4 vCPUs available for this executor, so use only 4 instead of the default number
|
||||
|
|
@ -120,7 +120,7 @@ jobs:
|
|||
- check-changed-files-or-halt
|
||||
- run:
|
||||
name: "Install golangci-lint"
|
||||
command: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.0
|
||||
command: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2
|
||||
- run:
|
||||
name: "golangci-lint/macOS"
|
||||
# There are only 4 vCPUs available for this executor, so use only 4 instead of the default number
|
||||
|
|
@ -134,7 +134,7 @@ jobs:
|
|||
- check-changed-files-or-halt
|
||||
- run:
|
||||
name: "Install golangci-lint"
|
||||
command: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.0
|
||||
command: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2
|
||||
- run:
|
||||
name: "golangci-lint/Windows"
|
||||
# There are only 4 vCPUs available for this executor, so use only 4 instead of the default number
|
||||
|
|
|
|||
|
|
@ -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" ]
|
||||
arguments: [ 5 ]
|
||||
- name: modifies-parameter
|
||||
- name: modifies-value-receiver
|
||||
- name: optimize-operands-order
|
||||
|
|
@ -392,7 +391,7 @@ issues:
|
|||
text: "Use of weak random number generator" #gosec:G404
|
||||
|
||||
- path-except: ^plugins/(aggregators|inputs|outputs|parsers|processors|serializers)/...
|
||||
text: "max-public-structs: you have exceeded the maximum number of public struct declarations" #revive:max-public-structs
|
||||
text: "max-public-structs: you have exceeded the maximum number" #revive:max-public-structs
|
||||
|
||||
# Independently of option `exclude` we use default exclude patterns,
|
||||
# it can be disabled by this option.
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -180,7 +180,7 @@ vet:
|
|||
.PHONY: lint-install
|
||||
lint-install:
|
||||
@echo "Installing golangci-lint"
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.0
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62.2
|
||||
|
||||
@echo "Installing markdownlint"
|
||||
npm install -g markdownlint-cli
|
||||
|
|
|
|||
Loading…
Reference in New Issue