File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,6 @@ linters:
1717 - common-false-positives
1818 - legacy
1919 - std-error-handling
20- paths :
21- - third_party$
22- - builtin$
23- - examples$
2420formatters :
2521 enable :
2622 - gci
@@ -29,7 +25,3 @@ formatters:
2925 - goimports
3026 exclusions :
3127 generated : lax
32- paths :
33- - third_party$
34- - builtin$
35- - examples$
Original file line number Diff line number Diff line change 11GOCMD = go
22GOTEST = $(GOCMD ) test
33
4+ # renovate: datasource=github-tags depName=golangci/golangci-lint
45GOLANGCI_VERSION ?= v2.1.6
56TOOLS_BIN := $(shell mkdir -p build/tools && realpath build/tools)
67
@@ -18,14 +19,6 @@ validate: validate-lint validate-dirty ## Run validation checks.
1819validate-lint : $(GOLANGCI )
1920 $(GOLANGCI ) run
2021
21- define go-install-tool
22- @[ -f $(1 ) ] || { \
23- set -e ;\
24- echo "Downloading $(2 ) " ;\
25- GOBIN=$(TOOLS_BIN ) go install $(2 ) ;\
26- }
27- endef
28-
2922validate-dirty :
3023ifneq ($(shell git status --porcelain --untracked-files=no) ,)
3124 @echo worktree is dirty
You can’t perform that action at this time.
0 commit comments