Skip to content

Commit 9ec53e5

Browse files
committed
Fix golangci-lint v2.6.0 configuration compatibility
Remove deprecated configuration options from the issues section that are no longer supported in golangci-lint v2.6.0. The properties 'exclude-use-default' and 'exclude-rules' have been removed as they cause schema validation errors in the new version.
1 parent ff0093c commit 9ec53e5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.golangci.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,5 @@ formatters:
6161
- goimports # Check import formatting
6262

6363
issues:
64-
exclude-use-default: false
6564
max-issues-per-linter: 0
6665
max-same-issues: 0
67-
exclude-rules:
68-
# Exclude some linters from running on tests files
69-
- path: _test\.go
70-
linters:
71-
- errcheck
72-
- gosec

0 commit comments

Comments
 (0)