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
text: 'SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead.'
57
-
- path: consensus/ethash/
58
-
text: 'SA1019: reflect.SliceHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.17: Use unsafe.Slice or unsafe.SliceData instead.'
59
-
exclude:
60
-
- 'SA1019: event.TypeMux is deprecated: use Feed'
61
-
- 'SA1019: strings.Title is deprecated'
62
-
- '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.'
63
-
- 'SA1029: should not use built-in type string as key for value'
31
+
settings:
32
+
staticcheck:
33
+
checks:
34
+
# disable Quickfixes
35
+
- -QF1*
36
+
revive:
37
+
enable-all-rules: false
38
+
# here we enable specific useful rules
39
+
# see https://golangci-lint.run/usage/linters/#revive for supported rules
40
+
rules:
41
+
- name: receiver-naming
42
+
severity: warning
43
+
disabled: false
44
+
exclude:
45
+
- ''
46
+
exclusions:
47
+
generated: lax
48
+
presets:
49
+
- comments
50
+
- common-false-positives
51
+
- legacy
52
+
- std-error-handling
53
+
rules:
54
+
- linters:
55
+
- deadcode
56
+
- staticcheck
57
+
path: crypto/bn256/cloudflare/optate.go
58
+
- linters:
59
+
- revive
60
+
path: crypto/bn256/
61
+
- path: internal/build/pgp.go
62
+
text: 'SA1019: "golang.org/x/crypto/openpgp" is deprecated: this package is unmaintained except for security fixes.'
63
+
- path: core/vm/contracts.go
64
+
text: 'SA1019: "golang.org/x/crypto/ripemd160" is deprecated: RIPEMD-160 is a legacy hash and should not be used for new applications.'
65
+
- path: accounts/usbwallet/trezor.go
66
+
text: 'SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead.'
67
+
- path: accounts/usbwallet/trezor/
68
+
text: 'SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead.'
text: 'SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead.'
71
+
- path: consensus/ethash/
72
+
text: 'SA1019: reflect.SliceHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.17: Use unsafe.Slice or unsafe.SliceData instead.'
73
+
- path: (.+)\.go$
74
+
text: 'SA1019: event.TypeMux is deprecated: use Feed'
75
+
- path: (.+)\.go$
76
+
text: 'SA1019: strings.Title is deprecated'
77
+
- path: (.+)\.go$
78
+
text: '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.'
79
+
- path: (.+)\.go$
80
+
text: 'SA1029: should not use built-in type string as key for value'
0 commit comments