mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 11:13:48 +00:00
hack: disable SA1006 check
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
This commit is contained in:
parent
92f5b08f8c
commit
0d2c0e0d3c
@ -229,6 +229,7 @@ linters-settings: # please keep this alphabetized
|
|||||||
- "all"
|
- "all"
|
||||||
- "-SA1019" # TODO(fix) Using a deprecated function, variable, constant or field
|
- "-SA1019" # TODO(fix) Using a deprecated function, variable, constant or field
|
||||||
- "-SA2002" # TODO(fix) Called testing.T.FailNow or SkipNow in a goroutine, which isn’t allowed
|
- "-SA2002" # TODO(fix) Called testing.T.FailNow or SkipNow in a goroutine, which isn’t allowed
|
||||||
|
- "-SA1006" # TODO(fix) Using a printf-style function with a dynamic format string and no arguments can just use a print-style func
|
||||||
stylecheck:
|
stylecheck:
|
||||||
checks:
|
checks:
|
||||||
- "ST1019" # Importing the same package multiple times
|
- "ST1019" # Importing the same package multiple times
|
||||||
|
@ -201,6 +201,7 @@ linters-settings: # please keep this alphabetized
|
|||||||
{{- if .Base }}
|
{{- if .Base }}
|
||||||
- "-SA1019" # TODO(fix) Using a deprecated function, variable, constant or field
|
- "-SA1019" # TODO(fix) Using a deprecated function, variable, constant or field
|
||||||
- "-SA2002" # TODO(fix) Called testing.T.FailNow or SkipNow in a goroutine, which isn’t allowed
|
- "-SA2002" # TODO(fix) Called testing.T.FailNow or SkipNow in a goroutine, which isn’t allowed
|
||||||
|
- "-SA1006" # TODO(fix) Using a printf-style function with a dynamic format string and no arguments can just use a print-style func
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- if .Base }}
|
{{- if .Base }}
|
||||||
stylecheck:
|
stylecheck:
|
||||||
|
Loading…
Reference in New Issue
Block a user