hack: disable SA1006 check

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
This commit is contained in:
Madhav Jivrajani 2024-07-15 13:42:43 +05:30
parent 0fdb16fe5a
commit 94ba9a67ce
2 changed files with 2 additions and 0 deletions

View File

@ -215,6 +215,7 @@ linters-settings: # please keep this alphabetized
- "all"
- "-SA1019" # TODO(fix) Using a deprecated function, variable, constant or field
- "-SA2002" # TODO(fix) Called testing.T.FailNow or SkipNow in a goroutine, which isnt 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:
checks:
- "ST1019" # Importing the same package multiple times

View File

@ -200,6 +200,7 @@ linters-settings: # please keep this alphabetized
{{- if .Base }}
- "-SA1019" # TODO(fix) Using a deprecated function, variable, constant or field
- "-SA2002" # TODO(fix) Called testing.T.FailNow or SkipNow in a goroutine, which isnt 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}}
{{- if .Base }}
stylecheck: