github.com/google/trillian-examples@v0.0.0-20240520080811-0d40d35cef0e/.golangci.yaml (about) 1 run: 2 # timeout for analysis, e.g. 30s, 5m, default is 1m 3 deadline: 90s 4 build-tags: 5 - lint 6 7 linters-settings: 8 gocyclo: 9 # minimal code complexity to report, 30 by default (but we recommend 10-20) 10 min-complexity: 25 11 depguard: 12 packages: 13 - golang.org/x/net/context 14 - github.com/gogo/protobuf/proto 15 - encoding/asn1 16 - crypto/x509 17 18 issues: 19 # Don't turn off any checks by default. We can do this explicitly if needed. 20 exclude-use-default: false 21 # List of regexps of issue texts to exclude. 22 # 23 # But independently of this option we use default exclude patterns, 24 # it can be disabled by `exclude-use-default: false`. 25 # To list all excluded by default patterns execute `golangci-lint run --help` 26 # 27 # Default: https://golangci-lint.run/usage/false-positives/#default-exclusions 28 exclude: 29 - "package-comments: should have a package comment"