Skip to content

Commit 1c52a87

Browse files
authored
Remove custom linter (#2921)
1 parent cab7051 commit 1c52a87

File tree

2 files changed

+2
-341
lines changed

2 files changed

+2
-341
lines changed

Makefile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ clean: ## Just remove all cf* files from the `out` directory
4343

4444
clear: clean ## Make everyone happy
4545

46-
custom-lint: ## Run our custom linters
47-
@echo "Running custom linters..." # this list will grow as we cleanup all the code:
48-
bash -c "go run bin/style/main.go api util"
49-
@echo "No custom lint errors!"
50-
@echo
51-
5246
# TODO: update these fly-windows* to point at the correct CI repo
5347
fly-windows-experimental: check-target-env
5448
CF_TEST_SUITE=./integration/shared/experimental fly -t ci execute -c ci/cli/tasks/integration-windows-oneoff.yml -i cli=./ --tag "cli-windows"
@@ -147,7 +141,7 @@ integration-tests-full-ci: install-test-deps integration-cleanup
147141
integration/shared/isolated integration/v7/isolated integration/shared/plugin integration/shared/experimental integration/v7/experimental integration/v7/push
148142
$(ginkgo_int) -flake-attempts $(FLAKE_ATTEMPTS) integration/shared/global integration/v7/global
149143

150-
lint: custom-lint ## Runs all linters and formatters
144+
lint: ## Runs all linters and formatters
151145
@echo "Running linters..."
152146
go list -f "{{.Dir}}" ./... \
153147
| grep -v -e "/cf/" -e "/fixtures/" -e "/assets/" -e "/plugin/" -e "/command/plugin" -e "fakes" \
@@ -229,7 +223,7 @@ units-full: build units-plugin units-non-plugin
229223
version: ## Print the version number of what would be built
230224
@echo $(CF_BUILD_VERSION)+$(CF_BUILD_SHA).$(CF_BUILD_DATE)
231225

232-
.PHONY: all build clean format version lint custom-lint
226+
.PHONY: all build clean format version lint
233227
.PHONY: test units units-full install-test-deps integration integration-tests-full integration-cleanup integration-experimental integration-plugin integration-isolated integration-push
234228
.PHONY: check-target-env fly-windows-experimental fly-windows-isolated fly-windows-plugin fly-windows-push
235229
.PHONY: help

bin/style/main.go

Lines changed: 0 additions & 333 deletions
This file was deleted.

0 commit comments

Comments
 (0)