mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 04:54:05 -05:00
Fix staticcheck violations (#13301)
* Fix violations of sa2002 * Fix violations of sa4005 * Fix violations of sa4010 * Fix violations for sa4023 * Comment on commented static checks
This commit is contained in:
12
BUILD.bazel
12
BUILD.bazel
@@ -104,7 +104,7 @@ STATICCHECK_ANALYZERS = [
|
||||
"sa1016",
|
||||
"sa1017",
|
||||
"sa1018",
|
||||
# "sa1019",
|
||||
# "sa1019", # TODO: Fix all uses of deprecated things.
|
||||
"sa1020",
|
||||
"sa1021",
|
||||
"sa1023",
|
||||
@@ -117,7 +117,7 @@ STATICCHECK_ANALYZERS = [
|
||||
"sa1030",
|
||||
"sa2000",
|
||||
"sa2001",
|
||||
# "sa2002",
|
||||
"sa2002",
|
||||
"sa2003",
|
||||
"sa3000",
|
||||
"sa3001",
|
||||
@@ -125,11 +125,11 @@ STATICCHECK_ANALYZERS = [
|
||||
"sa4001",
|
||||
"sa4003",
|
||||
"sa4004",
|
||||
# "sa4005",
|
||||
# "sa4006",
|
||||
"sa4005",
|
||||
# "sa4006", # TODO: Fix violations of unused arguments.
|
||||
"sa4008",
|
||||
"sa4009",
|
||||
# "sa4010",
|
||||
"sa4010",
|
||||
"sa4011",
|
||||
"sa4012",
|
||||
"sa4013",
|
||||
@@ -142,7 +142,7 @@ STATICCHECK_ANALYZERS = [
|
||||
"sa4020",
|
||||
"sa4021",
|
||||
"sa4022",
|
||||
# "sa4023",
|
||||
"sa4023",
|
||||
"sa4024",
|
||||
"sa4025",
|
||||
"sa4026",
|
||||
|
||||
Reference in New Issue
Block a user