1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Makefile: add lint target

Shortcut for running golint.
This commit is contained in:
Markus Lehtonen 2021-07-07 09:54:01 +03:00
parent 6f8ee419bb
commit feecee2c3d

View file

@ -135,6 +135,9 @@ gofmt-verify:
ci-lint:
golangci-lint run --timeout 7m0s
lint:
golint -set_exit_status ./...
mdlint:
find docs/ -path docs/vendor -prune -false -o -name '*.md' | xargs $(MDL) -s docs/mdl-style.rb