Skip to content

Commit 1141da8

Browse files
committed
Remove linter exception for non-const fmt string
The previous commit fixes the thing that the linter didn't like.
1 parent 49b52ba commit 1141da8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.golangci.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,4 @@ linters-settings:
3333
- prefix(github.com/conforma/cli)
3434

3535
issues:
36-
exclude-rules:
37-
# Some function in acceptance, e.g. ImageReferenceInStubRegistry, take a string parameter which
38-
# is used in call to a string format call, e.g. fmt.Sprintf(...). Golinter started complaining
39-
# starting on version v1.60. Since these are acceptance tests, there isn't a lot of harm in
40-
# allowing this.
41-
- path: acceptance
42-
linters: [govet]
43-
text: "printf: non-constant format string in call"
36+
exclude-rules: []

0 commit comments

Comments
 (0)