Skip to content

Commit 0122c31

Browse files
fix(lint): add version field to golangci-lint config
Add required version: 2 field to .golangci.yml for compatibility with golangci-lint v2.0+. Without this field, the linter fails with 'unsupported version of the configuration' error. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 5e232a9 commit 0122c31

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# golangci-lint configuration for pup
22
# https://golangci-lint.run/usage/configuration/
33

4+
# Specify config format version (required in v2.0+)
5+
version: 2
6+
47
run:
58
timeout: 5m
69
tests: true

0 commit comments

Comments
 (0)