We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 202ff7c commit 4548f60Copy full SHA for 4548f60
Makefile
@@ -16,6 +16,7 @@ clean:
16
.PHONY: test
17
test: lint_scripts
18
if [ -n "$$(gofumpt -l $(GO_FILES))" ]; then echo "Code is not properly formatted"; exit 1; fi
19
+ if [ -n "$$(go fix -diff ./...)" ]; then echo "Code does not use latest idioms of Go"; exit 1; fi
20
if [ -n "$$(goimports -l -local $(GO_MODULE) $(GO_FILES))" ]; then echo "Imports are not properly formatted"; exit 1; fi
21
go vet ./...
22
misspell -error $(GO_FILES)
0 commit comments