Skip to content

Commit c054faa

Browse files
thc1006claude
andcommitted
fix(ci): correct golangci-lint v2 output format
- Fix 'output.formats' structure from array to map format - Remove unsupported 'formats' key causing 'expected a map, got slice' error - Use v2-compatible output configuration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 8969c3c commit c054faa

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.golangci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ issues:
2020
max-same-issues: 0
2121

2222
output:
23-
formats:
24-
- format: colored-line-number
23+
sort-results: true
24+
print-issued-lines: true
25+
print-linter-name: true
26+
uniq-by-line: true

0 commit comments

Comments
 (0)