Skip to content
Snippets Groups Projects
Commit f8a666eb authored by Gabriel Zachmann's avatar Gabriel Zachmann Committed by Gabriel Zachmann
Browse files

move from golint to staticcheck

parent 030c93b6
No related branches found
No related tags found
No related merge requests found
......@@ -27,12 +27,12 @@ test_race:
script:
- go test -race -v ./...
lint:
staticcheck:
stage: lint
before_script:
- go install golang.org/x/lint/golint@latest
- go install honnef.co/go/tools/cmd/staticcheck@latest
script:
- golint -set_exit_status ./...
- staticcheck ./...
vet:
stage: lint
......
checks = ["inherit", "-ST1005"]
\ No newline at end of file
checks = ["inherit", "ST1003", "ST1016", "ST1020", "ST1021"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment