Cirrus: Disable nosnakecase linter

pull/164/head
Jeremy Rand 2 years ago
parent c89411628e
commit d217639620
No known key found for this signature in database
GPG Key ID: EB03139A459DD06E

@ -52,7 +52,8 @@ task:
- go mod tidy
lint_script:
- cd $(go env GOPATH)/src/github.com/$CIRRUS_REPO_FULL_NAME/
- golangci-lint run --enable-all --disable execinquery,exhaustruct,gochecknoglobals,gomnd,interfacer $GOLANGCI_ARGS $GOLANGCI_MODULES_ARGS -v --timeout 5m --out-format json > $CIRRUS_WORKING_DIR/lint-report.json
# nosnakecase complains about stdlib API's that we can't change.
- golangci-lint run --enable-all --disable execinquery,exhaustruct,gochecknoglobals,gomnd,interfacer,nosnakecase $GOLANGCI_ARGS $GOLANGCI_MODULES_ARGS -v --timeout 5m --out-format json > $CIRRUS_WORKING_DIR/lint-report.json
matrix:
- name: "Go Lint $GOOS New$MODULES_NAME"
env:

Loading…
Cancel
Save