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
{{ message }}
This repository was archived by the owner on Sep 6, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: .golangci.yml
+12-14Lines changed: 12 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -28,16 +28,15 @@ linters:
28
28
- durationcheck
29
29
- exportloopref
30
30
- gosec
31
-
- whitespace
32
31
33
-
#- structcheck # lots of false positives
34
-
#- errcheck #lot of false positives
35
-
# - contextcheck
36
-
# - errchkjson # lots of false positives
37
-
# - errorlint # this check crashes
38
-
# - exhaustive # silly check
39
-
# - makezero # false positives
40
-
# - nilerr # several intentional
32
+
#- structcheck # lots of false positives
33
+
#- errcheck #lot of false positives
34
+
# - contextcheck
35
+
# - errchkjson # lots of false positives
36
+
# - errorlint # this check crashes
37
+
# - exhaustive # silly check
38
+
# - makezero # false positives
39
+
# - nilerr # several intentional
41
40
42
41
linters-settings:
43
42
gofmt:
@@ -47,9 +46,9 @@ linters-settings:
47
46
min-occurrences: 6# minimum number of occurrences
48
47
gosec:
49
48
excludes:
50
-
- G404# Use of weak random number generator - lots of FP
51
-
- G107# Potential http request -- those are intentional
52
-
- G306# G306: Expect WriteFile permissions to be 0600 or less
49
+
- G404# Use of weak random number generator - lots of FP
50
+
- G107# Potential http request -- those are intentional
51
+
- G306# G306: Expect WriteFile permissions to be 0600 or less
53
52
54
53
issues:
55
54
exclude-rules:
@@ -68,6 +67,5 @@ issues:
68
67
exclude:
69
68
- 'SA1019: event.TypeMux is deprecated: use Feed'
70
69
- 'SA1019: strings.Title is deprecated'
71
-
- 'SA1019: strings.Title has been deprecated since Go 1.18 and an alternative has been available since Go 1.0: The rule Title uses for word boundaries does not handle Unicode punctuation properly. Use golang.org/x/text/cases instead.'
72
70
- 'SA1029: should not use built-in type string as key for value'
73
-
- 'G306: Expect WriteFile permissions to be 0600 or less'
71
+
- 'G306: Expect WriteFile permissions to be 0600 or less'
0 commit comments