Skip to content

Commit 35709cd

Browse files
jongioCopilot
andcommitted
fix: golangci-lint ignore-string-values must be array type
Co-authored-by: Copilot <[email protected]>
1 parent cf5825b commit 35709cd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.golangci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ linters:
2727
goconst:
2828
min-len: 3
2929
min-occurrences: 3
30-
ignore-string-values: '(?i)^(#[0-9a-f]{6})$'
30+
ignore-string-values:
31+
- '(?i)^(#[0-9a-f]{6})$'
3132
exhaustive:
3233
default-signifies-exhaustive: true
3334
gocritic:

0 commit comments

Comments
 (0)