hyperledger / fabric-contract-api-go

Packages for the implementation of the contract API for use in Go chaincode
https://wiki.hyperledger.org/display/fabric
Apache License 2.0
221 stars 103 forks source link

Use golangci-lint #134

Closed bestbeforetoday closed 5 months ago

bestbeforetoday commented 5 months ago

I've been using it for quite a while in fabric-gateway and fabric-admin-sdk. There is quite a lot of choice on the linters to run. Note that the staticcheck built into golangci-lint is not the same (and not endorsed by) the official staticcheck linter, which is why I disable the golangci-lint version and run staticcheck explicitly.