Skip to content

Commit d5975c8

Browse files
committed
chore: update golangci-lint
1 parent 7d40406 commit d5975c8

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.golangci.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
run:
22
timeout: 5m
33
tests: true
4-
skip-dirs:
5-
- vendor
6-
- test
74
modules-download-mode: vendor
85

96
linters:
@@ -13,15 +10,14 @@ linters:
1310
- errcheck
1411
- errorlint
1512
- bodyclose
16-
- exportloopref
1713
- gosimple
1814
- govet
1915
- ineffassign
2016
- misspell
2117
- nolintlint
2218
- nosprintfhostport
2319
- staticcheck
24-
- tenv
20+
- usetesting
2521
- typecheck
2622
- unconvert
2723
- unused
@@ -30,6 +26,9 @@ linters:
3026
- gci
3127

3228
issues:
29+
exclude-dirs:
30+
- vendor
31+
- test
3332
exclude-rules:
3433
- path: _test\.go
3534
linters:
@@ -39,14 +38,13 @@ issues:
3938
- errcheck
4039
- errorlint
4140
- bodyclose
42-
- exportloopref
4341
- gosimple
4442
- ineffassign
4543
- misspell
4644
- nolintlint
4745
- nosprintfhostport
4846
- staticcheck
49-
- tenv
47+
- usetesting
5048
- typecheck
5149
- unconvert
5250
- unused

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ GOJSONTOYAML_BIN=$(BIN_DIR)/gojsontoyaml
3838
JSONNET_BIN=$(BIN_DIR)/jsonnet
3939
JSONNETFMT_BIN=$(BIN_DIR)/jsonnetfmt
4040
GOLANGCI_LINT_BIN=$(BIN_DIR)/golangci-lint
41-
GOLANGCI_LINT_VERSION=v1.62.2
41+
GOLANGCI_LINT_VERSION=v1.64.8
4242
PROMTOOL_BIN=$(BIN_DIR)/promtool
4343
DOCGEN_BIN=$(BIN_DIR)/docgen
4444
MISSPELL_BIN=$(BIN_DIR)/misspell

0 commit comments

Comments
 (0)