Skip to content

Commit

Permalink
hack: disable SA1006 check
Browse files Browse the repository at this point in the history
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
  • Loading branch information
MadhavJivrajani committed Jul 15, 2024
1 parent 92f5b08 commit 0d2c0e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions hack/golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,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 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:
checks:
- "ST1019" # Importing the same package multiple times
Expand Down
1 change: 1 addition & 0 deletions hack/golangci.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,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 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}}
{{- if .Base }}
stylecheck:
Expand Down

0 comments on commit 0d2c0e0

Please sign in to comment.