We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2843048 commit 6561185Copy full SHA for 6561185
.golangci.yml
@@ -30,7 +30,10 @@ linters:
30
enable:
31
- gocyclo
32
- godot
33
- - gofumpt
+ # Disabled as the latest version - 0.4.0 from 2022-09-27 is not built with go 1.19 and
34
+ # therefore disagrees with swag fmt about the formatting of the swagger comments.
35
+ # See https://github.com/mvdan/gofumpt/issues/254
36
+ # - gofumpt
37
- goimports
38
- govet
39
- revive
@@ -39,7 +42,7 @@ linters:
42
40
43
linters-settings:
41
44
gofumpt:
- lang-version: "1.20"
45
+ lang-version: "1.19"
46
extra-rules: true
47
gocyclo:
48
min-complexity: 15
0 commit comments