Static analysis: gocognit (#10527)

* Add gocognit to static analyzers with a very high threshold

* edit readme and sort analyzers
This commit is contained in:
Preston Van Loon
2022-04-15 01:29:07 -05:00
committed by GitHub
parent cbe54fe3f9
commit cc23b8311a
9 changed files with 325 additions and 6 deletions

View File

@@ -170,5 +170,13 @@
"rules_go_work-.*": "Third party code",
".*_test\\.go": "Tests are ok"
}
},
"gocognit": {
"exclude_files": {
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code",
".*\\.pb.*.go": "Generated code is ok",
".*generated\\.ssz\\.go": "Generated code is ok"
}
}
}