mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Unnecessary Slice-to-Slice Conversion analyzer (#7321)
* analyzer with tests * fix bazel file * modify analyzer to fix build issues * add analyzer to tool chain * remove arrays from inspections * fix redundant [:] operator * Merge branch 'master' into use-slice-directly * Merge branch 'master' into use-slice-directly * fix another inspection * add package-level comment
This commit is contained in:
@@ -114,5 +114,12 @@
|
||||
"rules_go_work-.*": "Third party code",
|
||||
"tools/analyzers/nop/testdata/no_op.go": "Analyzer testdata has to break rules"
|
||||
}
|
||||
},
|
||||
"slicedirect": {
|
||||
"exclude_files": {
|
||||
"external/.*": "Third party code",
|
||||
"rules_go_work-.*": "Third party code",
|
||||
"tools/analyzers/slicedirect/testdata/slice.go": "Analyzer testdata has to break rules"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user