You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .golangci.yml
+13-2
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ linters:
13
13
#- gocyclo # The cyclomatic complexety of a lot of functions is too high, we should refactor those another time.
14
14
- gofmt
15
15
- misspell
16
-
- gocritic
16
+
#- gocritic # TODO: disabled until fixed with go 1.18
17
17
- bidichk
18
18
- ineffassign
19
19
- revive
@@ -22,7 +22,7 @@ linters:
22
22
fast: false
23
23
24
24
run:
25
-
timeout: 3m
25
+
timeout: 10m
26
26
skip-dirs:
27
27
- node_modules
28
28
- public
@@ -61,6 +61,9 @@ linters-settings:
61
61
- name: errorf
62
62
- name: duplicated-imports
63
63
- name: modifies-value-receiver
64
+
gofumpt:
65
+
extra-rules: true
66
+
lang-version: 1.18
64
67
65
68
issues:
66
69
exclude-rules:
@@ -148,3 +151,11 @@ issues:
148
151
- path: models/user/openid.go
149
152
linters:
150
153
- golint
154
+
- linters: staticcheck
155
+
text: "strings.Title is deprecated: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead."
156
+
- linters: staticcheck
157
+
text: "util.FindClosure is deprecated: This function can not handle newlines. Many elements can be existed over multiple lines(e.g. link labels). Use text.Reader.FindClosure."
158
+
- linters: staticcheck
159
+
text: "gossh.SigAlgoRSASHA2256 is deprecated: use KeyAlgoRSASHA256."
160
+
- linters: staticcheck
161
+
text: "gossh.SigAlgoRSASHA2512 is deprecated: use KeyAlgoRSASHA512."
0 commit comments