Skip to content

Commit 746766d

Browse files
committed
lint fixes
Signed-off-by: Shubhendu Ram Tripathi <[email protected]>
1 parent 0fcc178 commit 746766d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ lint:
3333
@GO111MODULE=on ${GOPATH}/bin/golangci-lint cache clean
3434
@GO111MODULE=on ${GOPATH}/bin/golangci-lint run --timeout=5m --config ./.golangci.yml
3535

36+
lint-fix: getdeps ## runs golangci-lint suite of linters with automatic fixes
37+
@echo "Running $@ check"
38+
@GO111MODULE=on ${GOPATH}/bin/golangci-lint run --timeout=5m --config ./.golangci.yml --fix
39+
3640
install: console
3741
@echo "Installing console binary to '$(GOPATH)/bin/console'"
3842
@mkdir -p $(GOPATH)/bin && cp -f $(PWD)/console $(GOPATH)/bin/console

0 commit comments

Comments
 (0)