mirror of
https://github.com/prometheus/prometheus.git
synced 2026-01-16 14:11:06 +01:00
Update golangci-lint (#17767)
Update golangci-lint to latest. * Update revive config to ignore package name rules. Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
parent
a2ad371b03
commit
44ed09336d
@ -182,6 +182,11 @@ linters:
|
||||
- name: unused-receiver
|
||||
- name: var-declaration
|
||||
- name: var-naming
|
||||
# TODO(SuperQ): See: https://github.com/prometheus/prometheus/issues/17766
|
||||
arguments:
|
||||
- []
|
||||
- []
|
||||
- - skip-package-name-checks: true
|
||||
testifylint:
|
||||
disable:
|
||||
- float-compare
|
||||
|
||||
@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
|
||||
SKIP_GOLANGCI_LINT :=
|
||||
GOLANGCI_LINT :=
|
||||
GOLANGCI_LINT_OPTS ?=
|
||||
GOLANGCI_LINT_VERSION ?= v2.6.2
|
||||
GOLANGCI_LINT_VERSION ?= v2.7.2
|
||||
GOLANGCI_FMT_OPTS ?=
|
||||
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64.
|
||||
# windows isn't included here because of the path separator being different.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user