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
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,17 @@ linters:
29
29
- third_party$
30
30
- builtin$
31
31
- examples$
32
+
settings:
33
+
staticcheck:
34
+
checks:
35
+
- all
36
+
- '-QF1001'# "could apply De Morgan's law" -- https://staticcheck.dev/docs/checks/#QF1001
37
+
- '-QF1002'# "could use tagged switch" -- https://staticcheck.dev/docs/checks/#QF1002
38
+
- '-QF1004'# "could use strings.ReplaceAll instead" -- https://staticcheck.dev/docs/checks/#QF1004
39
+
- '-QF1008'# "could remove embedded field "Block" from selector" -- https://staticcheck.dev/docs/checks/#QF1008
40
+
- '-ST1003'# example: "const autoTFVarsJson should be autoTFVarsJSON" -- https://staticcheck.dev/docs/checks/#ST1003
41
+
- '-ST1005'# "error strings should not end with punctuation or newlines" -- https://staticcheck.dev/docs/checks/#ST1005
42
+
- '-ST1016'# example: "methods on the same type should have the same receiver name (seen 2x "r", 2x "s")" -- https://staticcheck.dev/docs/checks/#ST1016
0 commit comments