Skip to content

Commit

Permalink
Enforce line length to max 80 chars
Browse files Browse the repository at this point in the history
Closes: #2484
  • Loading branch information
Alessio Treglia committed Oct 21, 2018
1 parent cca2f9d commit e9aeab0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ update_dev_tools:
@echo "--> Downloading linters (this may take awhile)"
$(GOPATH)/src/github.com/alecthomas/gometalinter/scripts/install.sh -b $(GOBIN)
go get -u github.com/tendermint/lint/golint
go get -u github.com/walle/lll/...

get_tools:
@echo "--> Installing tools"
Expand All @@ -116,6 +117,7 @@ get_dev_tools:
@echo "--> Downloading linters (this may take awhile)"
$(GOPATH)/src/github.com/alecthomas/gometalinter/scripts/install.sh -b $(GOBIN)
go get github.com/tendermint/lint/golint
go get github.com/walle/lll/...

get_vendor_deps:
@echo "--> Generating vendor directory via dep ensure"
Expand Down
2 changes: 1 addition & 1 deletion tools/gometalinter.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Linters": {
"vet": "go tool vet -composites=false :PATH:LINE:MESSAGE"
},
"Enable": ["golint", "vet", "ineffassign", "unconvert", "misspell"],
"Enable": ["golint", "vet", "ineffassign", "unconvert", "misspell", "lll"],
"Deadline": "500s",
"Vendor": true,
"Cyclo": 11,
Expand Down

0 comments on commit e9aeab0

Please sign in to comment.