Skip to content
This repository has been archived by the owner on Apr 9, 2022. It is now read-only.

Commit

Permalink
increase duplicate char checks and fix spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstanley committed Oct 23, 2016
1 parent 15f2f29 commit 5dbaf88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -33,14 +33,14 @@ lint: clean fetch generate
test -f $(GOPATH)/bin/gometalinter.v1 || go get -v -u gopkg.in/alecthomas/gometalinter.v1
$(GOPATH)/bin/gometalinter.v1 -i > /dev/null
@echo "\n\033[0;36m [ Running SHORT linting ]\033[0;m"
$(GOPATH)/bin/gometalinter.v1 --vendored-linters --sort=path --exclude="bindata*" --exclude "vendor" --min-confidence=0.3 --deadline 15s --disable-all -E structkcheck -E deadcode -E ineffassign -E dupl -E golint -E gotype -E varcheck -E interfacer -E goconst -E gosimple -E staticcheck -E unused -E gofmt -E goimports -E misspell ./...
$(GOPATH)/bin/gometalinter.v1 --vendored-linters --sort=path --exclude="bindata*" --exclude "vendor" --min-confidence=0.3 --dupl-threshold=70 --deadline 15s --disable-all -E structcheck -E deadcode -E ineffassign -E dupl -E golint -E gotype -E varcheck -E interfacer -E goconst -E gosimple -E staticcheck -E unused -E gofmt -E goimports -E misspell ./...

lintextended: clean fetch generate
@echo "\n\033[0;36m [ Installng linters ]\033[0;m"
test -f $(GOPATH)/bin/gometalinter.v1 || go get -v -u gopkg.in/alecthomas/gometalinter.v1
$(GOPATH)/bin/gometalinter.v1 -i > /dev/null
@echo "\n\033[0;36m [ Running EXTENDED linting ]\033[0;m"
$(GOPATH)/bin/gometalinter.v1 --vendored-linters --sort=path --exclude="bindata*" --exclude "vendor" --min-confidence=0.3 --deadline 1m --disable-all -E structkcheck -E aligncheck -E deadcode -E ineffassign -E dupl -E golint -E gotype -E errcheck -E varcheck -E interfacer -E goconst -E gosimple -E staticcheck -E unused -E gofmt -E goimports -E misspell ./...
$(GOPATH)/bin/gometalinter.v1 --vendored-linters --sort=path --exclude="bindata*" --exclude "vendor" --min-confidence=0.3 --dupl-threshold=70 --deadline 1m --disable-all -E structcheck -E aligncheck -E deadcode -E ineffassign -E dupl -E golint -E gotype -E errcheck -E varcheck -E interfacer -E goconst -E gosimple -E staticcheck -E unused -E gofmt -E goimports -E misspell ./...

test: clean fetch generate
@echo "\n\033[0;36m [ Running SHORT tests ]\033[0;m"
Expand Down

0 comments on commit 5dbaf88

Please sign in to comment.