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:
parent
6f8ee419bb
commit
feecee2c3d
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue