This repository was archived by the owner on Aug 10, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,6 @@ $(BASE):
68
68
69
69
# Tools
70
70
71
- GOLINT = $(BIN ) /golint
72
- $(BIN ) /golint :
73
- $(info $(M ) building golint...)
74
- $Q go get -u golang.org/x/lint/golint
75
71
GOLANGCILINT = $(BIN ) /golangci-lint
76
72
$(BIN ) /golangci-lint :
77
73
$(info $(M ) building golangci-lint...)
@@ -149,13 +145,6 @@ test-coverage: test-coverage-tools | $(BASE) ; $(info $(M) running coverage test
149
145
$Q $(GO ) tool cover -html=$(COVERAGE_PROFILE ) -o $(COVERAGE_HTML )
150
146
$Q $(GOCOV ) convert $(COVERAGE_PROFILE ) | $(GOCOVXML ) > $(COVERAGE_XML )
151
147
152
- .PHONY : lint
153
- lint : $(GOLINT ) # # Run golint check
154
- $(info $(M ) running golint...) @
155
- @$(GOLINT ) $(CURDIR ) /app/... $(CURDIR ) /lib/...
156
-
157
- @find $(CURDIR)/plugins -mindepth 1 -maxdepth 1 -type d \
158
- -exec $(GOLINT) "{}/..." \;
159
148
.PHONY : golangci-lint
160
149
golangci-lint : deps $(GOLANGCILINT ) # # Run golangci-lint check
161
150
$(info $(M ) running golangci-lint...) @
@@ -172,7 +161,7 @@ commitsar: $(COMMITSAR) ## Run git commit linter
172
161
@ $(COMMITSAR )
173
162
174
163
.PHONY : all-linters
175
- all-linters : lint golangci-lint commitsar # # Run all linters
164
+ all-linters : golangci-lint commitsar # # Run all linters
176
165
177
166
.PHONY : fmt
178
167
fmt : # # Run source code formatter
You can’t perform that action at this time.
0 commit comments