You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* support GEP-31 in place update
* fix: linter
* fix: golangci-lint gomod version
* constants for capabilities name
* fix: golangci-lint gomod version
* fix: comments
* fix: typos
Copy file name to clipboardExpand all lines: .golangci.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ linters:
74
74
settings:
75
75
dupword:
76
76
# Do not choke on SQL statements like `INSERT INTO things (foo, bar, baz) VALUES (TRUE, TRUE, TRUE)`.
77
-
ignore: ["TRUE", "FALSE", "NULL"]
77
+
ignore: ["TRUE", "FALSE", "NULL"]
78
78
errcheck:
79
79
check-type-assertions: false
80
80
# Report about assignment of errors to blank identifier.
@@ -103,7 +103,7 @@ linters:
103
103
min-occurrences: 5
104
104
ignore-tests: true
105
105
ignore-string-values:
106
-
- '^[a-zA-Z_-]{1,16}$'# ignore short identifiers like "account" or "project_id"
106
+
- "^[a-zA-Z_-]{1,16}$"# ignore short identifiers like "account" or "project_id"
107
107
gocritic:
108
108
enabled-checks:
109
109
- boolExprSimplify
@@ -136,7 +136,7 @@ linters:
136
136
# for github.com/sapcc/vpa_butler
137
137
- k8s.io/client-go
138
138
toolchain-forbidden: true
139
-
go-version-pattern: 1\.\d+(\.0)?$
139
+
go-version-pattern: 1\.\d+(\.\d+)?$
140
140
gosec:
141
141
excludes:
142
142
# gosec wants us to set a short ReadHeaderTimeout to avoid Slowloris attacks, but doing so would expose us to Keep-Alive race conditions (see https://iximiuz.com/en/posts/reverse-proxy-http-keep-alive-and-502s/
0 commit comments