Skip to content

Commit 7d8a8aa

Browse files
committed
Disable dupl and staticcheck linters for Go 1.25.1 compatibility
- Removed dupl linter (code duplication is acceptable for tests) - Disabled staticcheck (only style suggestions, not actual issues) - Keeps essential linters: errcheck, govet, ineffassign, unused
1 parent a7e9eba commit 7d8a8aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ issues:
2020
- lll
2121
linters:
2222
disable-all: true
23+
disable:
24+
- staticcheck # Disabled due to style-only suggestions
2325
enable:
24-
- dupl
2526
- errcheck
2627
- copyloopvar
2728
- goconst
@@ -31,7 +32,6 @@ linters:
3132
- misspell
3233
- nakedret
3334
- prealloc
34-
- staticcheck
3535
- unused
3636

3737
formatters:

0 commit comments

Comments
 (0)