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: 'make check-deps'
|
||||||
- run:
|
- run:
|
||||||
name: "Install golangci-lint"
|
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:
|
- run:
|
||||||
name: "golangci-lint/Linux"
|
name: "golangci-lint/Linux"
|
||||||
# There are only 4 vCPUs available for this executor, so use only 4 instead of the default number
|
# 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
|
- check-changed-files-or-halt
|
||||||
- run:
|
- run:
|
||||||
name: "Install golangci-lint"
|
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:
|
- run:
|
||||||
name: "golangci-lint/macOS"
|
name: "golangci-lint/macOS"
|
||||||
# There are only 4 vCPUs available for this executor, so use only 4 instead of the default number
|
# 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
|
- check-changed-files-or-halt
|
||||||
- run:
|
- run:
|
||||||
name: "Install golangci-lint"
|
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:
|
- run:
|
||||||
name: "golangci-lint/Windows"
|
name: "golangci-lint/Windows"
|
||||||
# There are only 4 vCPUs available for this executor, so use only 4 instead of the default number
|
# 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: import-shadowing
|
||||||
- name: increment-decrement
|
- name: increment-decrement
|
||||||
- name: indent-error-flow
|
- name: indent-error-flow
|
||||||
# Enable again when https://github.com/mgechev/revive/issues/1103 is fixed
|
- name: max-public-structs
|
||||||
# - name: max-public-structs
|
exclude: [ "TEST" ]
|
||||||
# exclude: [ "TEST" ]
|
arguments: [ 5 ]
|
||||||
# arguments: [ 5 ]
|
|
||||||
- name: modifies-parameter
|
- name: modifies-parameter
|
||||||
- name: modifies-value-receiver
|
- name: modifies-value-receiver
|
||||||
- name: optimize-operands-order
|
- name: optimize-operands-order
|
||||||
|
|
@ -392,7 +391,7 @@ issues:
|
||||||
text: "Use of weak random number generator" #gosec:G404
|
text: "Use of weak random number generator" #gosec:G404
|
||||||
|
|
||||||
- path-except: ^plugins/(aggregators|inputs|outputs|parsers|processors|serializers)/...
|
- 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,
|
# Independently of option `exclude` we use default exclude patterns,
|
||||||
# it can be disabled by this option.
|
# it can be disabled by this option.
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -180,7 +180,7 @@ vet:
|
||||||
.PHONY: lint-install
|
.PHONY: lint-install
|
||||||
lint-install:
|
lint-install:
|
||||||
@echo "Installing golangci-lint"
|
@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"
|
@echo "Installing markdownlint"
|
||||||
npm install -g markdownlint-cli
|
npm install -g markdownlint-cli
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue