|
|
@ -52,12 +52,12 @@ metalinter: tools |
|
|
|
metalinter_test: tools |
|
|
|
@gometalinter --install |
|
|
|
gometalinter --vendor --deadline=600s --disable-all \
|
|
|
|
--enable=maligned \
|
|
|
|
--enable=deadcode \
|
|
|
|
--enable=gas \
|
|
|
|
--enable=goconst \
|
|
|
|
--enable=goimports \
|
|
|
|
--enable=gosimple \
|
|
|
|
--enable=gotype \
|
|
|
|
--enable=ineffassign \
|
|
|
|
--enable=megacheck \
|
|
|
|
--enable=misspell \
|
|
|
@ -70,13 +70,13 @@ metalinter_test: tools |
|
|
|
--enable=vetshadow \
|
|
|
|
./... |
|
|
|
|
|
|
|
# --enable=aligncheck \ <== disabled as not installed |
|
|
|
#--enable=dupl \ |
|
|
|
#--enable=errcheck \ |
|
|
|
#--enable=gocyclo \ |
|
|
|
#--enable=golint \ <== comments on anything exported |
|
|
|
#--enable=interfacer \ |
|
|
|
#--enable=unparam \ |
|
|
|
#--enable=vet \ |
|
|
|
#--enable=dupl \ |
|
|
|
#--enable=errcheck \ |
|
|
|
#--enable=gocyclo \ |
|
|
|
#--enable=golint \ <== comments on anything exported |
|
|
|
#--enable=gotype \ |
|
|
|
#--enable=interfacer \ |
|
|
|
#--enable=unparam \ |
|
|
|
#--enable=vet \ |
|
|
|
|
|
|
|
.PHONY: all build test fmt get_deps tools |