mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-07 21:46:37 +00:00
chore(deps): update dependency golangci/golangci-lint to v2.5.0 (#2220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -91,5 +91,5 @@ jobs:
|
|||||||
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
|
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
|
||||||
with:
|
with:
|
||||||
# renovate: github=golangci/golangci-lint
|
# renovate: github=golangci/golangci-lint
|
||||||
version: v2.4.0
|
version: v2.5.0
|
||||||
args: "--max-same-issues=0"
|
args: "--max-same-issues=0"
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ linters:
|
|||||||
- gocognit
|
- gocognit
|
||||||
- goconst
|
- goconst
|
||||||
- gocyclo
|
- gocyclo
|
||||||
|
- godoclint
|
||||||
- godot
|
- godot
|
||||||
- lll
|
- lll
|
||||||
- maintidx
|
- maintidx
|
||||||
@@ -23,6 +24,7 @@ linters:
|
|||||||
- paralleltest
|
- paralleltest
|
||||||
- tagliatelle
|
- tagliatelle
|
||||||
- testpackage
|
- testpackage
|
||||||
|
- unqueryvet
|
||||||
- varnamelen
|
- varnamelen
|
||||||
- wrapcheck
|
- wrapcheck
|
||||||
- wsl
|
- wsl
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ import (
|
|||||||
|
|
||||||
type ValueType int
|
type ValueType int
|
||||||
|
|
||||||
|
//nolint:iotamixing
|
||||||
const (
|
const (
|
||||||
ValueTypeBOOLEAN ValueType = iota
|
ValueTypeBOOLEAN ValueType = iota
|
||||||
ValueTypeUINT8
|
ValueTypeUINT8
|
||||||
|
|||||||
Reference in New Issue
Block a user