prysm-pulse/nogo_config.json

175 lines
4.8 KiB
JSON
Raw Normal View History

{
"unsafeptr": {
"exclude_files": {
2019-07-22 14:39:37 +00:00
"external/.*": "Unsafe third party code",
"rules_go_work-.*": "Third party code"
}
},
"unreachable": {
"exclude_files": {
"runtime/messagehandler/messagehandler_test.go": "Necessary panic before return for test",
2019-07-22 14:39:37 +00:00
"external/.*": "Unreachable third party code"
}
},
"lostcancel": {
"exclude_files": {
"validator/client/runner.go": "No need to cancel right when goroutines begin",
"external/.*": "Third party code"
}
},
"nilness": {
"exclude_files": {
2019-07-22 14:39:37 +00:00
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code"
}
},
Update Geth Fork (#5865) * update workspace * new updates * new commit * fixes * Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into updateGeth * test fixes * Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into fixCreateconfig # Conflicts: fix test * Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into updateGeth * Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into fixCreateconfig # Conflicts: update commit * use geth's dep * Merge branch 'master' into updateGeth * update workspace * fix again * Merge branch 'updateGeth' of https://github.com/prysmaticlabs/geth-sharding into updateGeth * Merge branch 'master' into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * fix osx builds * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * add execption and disable nilness * remove redundant deps * Merge branch 'master' of https://github.com/prysmaticlabs/geth-sharding into updateGeth * clean up * go mod * tidy * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Add patch to resolve panic until https://github.com/bazelbuild/rules_go/pull/2450 can be addressed * Merge branch 'updateGeth' of github.com:prysmaticlabs/prysm into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth * Merge refs/heads/master into updateGeth
2020-06-01 22:03:33 +00:00
"pkgfact": {
"exclude_files": {
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code"
}
},
"stdmethods": {
"exclude_files": {
2019-07-22 14:39:37 +00:00
"external/.*": "Third party code"
}
},
"copylocks": {
"exclude_files": {
2019-07-22 14:39:37 +00:00
"external/.*": "Third party code"
}
},
"composites": {
"exclude_files": {
2019-07-22 14:39:37 +00:00
"external/.*": "Third party code"
}
},
"cgocall": {
"exclude_files": {
2019-07-22 14:39:37 +00:00
"external/.*": "Third party code"
}
},
"assign": {
"exclude_files": {
2019-07-22 14:39:37 +00:00
"external/.*": "Third party code"
}
},
"structtag": {
"exclude_files": {
2019-07-22 14:39:37 +00:00
"external/.*": "Third party code"
}
},
"maligned": {
"exclude_files": {
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code",
"config/params/config.go": "This config struct needs to be organized for now",
"shared/featureconfig/config.go": "This config struct needs to be organized for now",
"proto/.*": "Excluding protobuf objects for now"
}
},
"errcheck": {
"exclude_files": {
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code",
"shared/mock/.*\\.go": "Mocks are OK",
".*/.*mock\\.go": "Mocks are OK",
Refactor dependencies, make Prysm "go gettable" (#6053) * Fix a few deps to work with go.mod, check in generated files * Update Gossipsub to 1.1 (#5998) * update libs * add new validators * add new deps * new set of deps * tls * further fix gossip update * get everything to build * clean up * gaz * fix build * fix all tests * add deps to images * imports Co-authored-by: rauljordan <raul@prysmaticlabs.com> * Beacon chain builds with go build * fix bazel * fix dep * lint * Add github action for testing go * on PR for any branch * fix libp2p test failure * Fix TestProcessBlock_PassesProcessingConditions by updating the proposer index in test * Revert "Fix TestProcessBlock_PassesProcessingConditions by updating the proposer index in test" This reverts commit 43676894ab01f03fe90a9b8ee3ecfbc2ec1ec4e4. * Compute and set proposer index instead of hard code * Add back go mod/sum, fix deps * go build ./... * Temporarily skip two tests * Fix kafka confluent patch * Fix kafka confluent patch * fix kafka build * fix kafka * Add info in DEPENDENCIES. Added a stub link for Why Bazel? until https://github.com/prysmaticlabs/documentation/issues/138 * Update fuzz ssz files as well * Update fuzz ssz files as well * getting closer * rollback rules_go and gazelle * fix gogo protobuf * install librdkafka-dev as part of github actions * Update kafka to a recent version where librkafkfa is not required for go modules * clarify comment * fix kafka build * disable go tests * comment * Fix geth dependencies for end to end * rename word * lint * fix docker Co-authored-by: Nishant Das <nishdas93@gmail.com> Co-authored-by: rauljordan <raul@prysmaticlabs.com> Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2020-05-31 06:44:34 +00:00
".*/testmain\\.go": "Test runner generated code",
"proto/.*": "Generated protobuf related code",
"tools/analyzers/properpermissions/testdata/.*": "Analyzer breaks rules"
}
},
"featureconfig": {
"only_files": {
".*_test\\.go": "Only tests"
}
},
2021-05-24 04:55:42 +00:00
"interfacechecker": {
"exclude_files": {
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code",
".*/.*_test\\.go": "Tests are OK to ignore this check for"
}
},
"cryptorand": {
"only_files": {
"beacon-chain/.*": "",
"shared/.*": "",
"slasher/.*": "",
"validator/.*": ""
},
"exclude_files": {
".*/.*_test\\.go": "Tests are OK to use weak crypto",
"crypto/rand/rand\\.go": "Abstracts CSPRNGs for common use",
"shared/aggregation/testing/bitlistutils.go": "Test-only package"
}
},
"comparesame": {
"exclude_files": {
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code",
"tools/analyzers/comparesame/testdata/compare_len.go": "Analyzer testdata has to break rules"
}
},
"shadowpredecl": {
"exclude_files": {
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code",
"tools/analyzers/shadowpredecl/testdata/shadow.go": "Analyzer testdata has to break rules"
}
},
"recursivelock": {
"exclude_files": {
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code",
"tools/analyzers/recursivelock/testdata/.*": "Analyzer testdata has to break rules"
}
},
"nop": {
"exclude_files": {
"external/.*": "Third party code",
"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"
}
},
"ineffassign": {
"only_files": {
"beacon-chain/.*": "",
"shared/.*": "",
"slasher/.*": "",
"validator/.*": ""
},
"exclude_files": {
"beacon-chain/state/state-native/v1/generated.ssz.go": "Exclude generated SSZ file",
"beacon-chain/state/state-native/v2/generated.ssz.go": "Exclude generated SSZ file",
"beacon-chain/state/state-native/v3/generated.ssz.go": "Exclude generated SSZ file"
}
},
"properpermissions": {
"only_files": {
"beacon-chain/.*": "",
"slasher/.*": "",
"shared/.*": "",
"validator/.*": ""
},
"exclude_files": {
".*_test\\.go": "Tests are ok",
"io/file/fileutil.go": "Package which defines the proper rules"
}
},
"uintcast": {
"exclude_files": {
"external/.*": "Third party code",
"rules_go_work-.*": "Third party code",
".*_test\\.go": "Tests are ok"
}
}
}