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:
Radosław Kapka
2020-09-23 18:14:34 +02:00
committed by GitHub
parent 347aa14a28
commit dca93ce641
48 changed files with 251 additions and 87 deletions

View File

@@ -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"
}
}
}