Skip to content

Commit 6515143

Browse files
committed
chore: golangci.yml updated
Signed-off-by: Mattia Lavacca <[email protected]>
1 parent cb846ce commit 6515143

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.golangci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
run:
22
timeout: 10m
33
issues-exit-code: 1
4-
max-issues-per-linter: 0
5-
max-same-issues: 0
64
tests: true
7-
skip-dirs-use-default: true
85
modules-download-mode: readonly
96
allow-parallel-runners: false
107

@@ -39,11 +36,13 @@ linters-settings:
3936
simplify: true
4037
goimports:
4138
local-prefixes: sigs.k8s.io/gateway-api
42-
golint:
43-
min-confidence: 0.9
4439
govet:
45-
# report about shadowed variables
46-
check-shadowing: true
40+
enable:
41+
- shadow
42+
settings:
43+
shadow:
44+
# Whether to be strict about shadowing; can be noisy.
45+
strict: true
4746
misspell:
4847
locale: US
4948
ignore-words: []
@@ -58,6 +57,8 @@ linters-settings:
5857
reason: "Deprecation of package ioutil in Go 1.16."
5958

6059
issues:
60+
max-issues-per-linter: 0
61+
max-same-issues: 0
6162
exclude-rules:
6263
# Exclude some linters from running on tests files.
6364
- path: _test\.go

hack/verify-golint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -o errexit
1818
set -o nounset
1919
set -o pipefail
2020

21-
readonly VERSION="v1.57.2"
21+
readonly VERSION="v1.60.3"
2222
readonly KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
2323

2424
cd "${KUBE_ROOT}"

0 commit comments

Comments
 (0)