Skip to content

Commit 4ac52e4

Browse files
bumped golangci-lint version
1 parent 02483d8 commit 4ac52e4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/linters/.golangci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,24 @@ linters:
1313
- errcheck
1414
- goconst
1515
- gocritic
16-
- gofumpt
17-
- goimports
18-
- gosimple
16+
# - gosimple # Merged into staticcheck in v2
1917
- govet
2018
- ineffassign
2119
- misspell
2220
- nakedret
2321
- nestif
2422
- nolintlint
2523
- staticcheck
26-
# - stylecheck # Disable stylecheck until refactor
24+
# - stylecheck # Merged into staticcheck in v2
2725
# - typecheck # Removed in v2
2826
- unconvert
2927
- unused
3028

29+
formatters:
30+
enable:
31+
- gofumpt
32+
- goimports
33+
3134

3235
linters-settings:
3336
dogsled:
@@ -42,17 +45,14 @@ linters-settings:
4245
disabled-checks:
4346
- regexpMust
4447
- badCall # Remove this after CI workflow PR
45-
46-
gofumpt:
47-
lang-version: "1.24"
4848

4949
misspell:
5050
ignore-words:
5151
- cheqd
5252
- cheq
5353
- ncheq
5454

55-
stylecheck:
55+
staticcheck:
5656
# Select the Go version to target.
5757
go: "1.24"
5858
# STxxxx checks in https://staticcheck.io/docs/configuration/options/#checks

0 commit comments

Comments
 (0)