Add linting (#23)
Adds linting and fixes a couple of linting issues. Closes #6.
This commit is contained in:
parent
14ea447010
commit
816ea3dd2b
3 changed files with 9 additions and 3 deletions
4
Makefile
4
Makefile
|
|
@ -19,3 +19,7 @@ push:
|
|||
.PHONY: test
|
||||
test:
|
||||
go test -v .
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
docker run --rm -v $$(pwd):/app -w /app golangci/golangci-lint:v1.46.2 golangci-lint run -v
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue