Skip to content

Commit

Permalink
devex: speed up by not calling prettier twice
Browse files Browse the repository at this point in the history
  • Loading branch information
benfdking committed May 6, 2024
1 parent 0375776 commit 8467b12
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,11 @@ bash_lint: ## Lints all the bash scripts

.PHONY: prettier_fmt
prettier_fmt: ## Formats all the yaml files
npx prettier --write **/*.yaml
npx prettier --write **/*.yml
npx prettier --write **/*.{yaml,yml}

.PHONY: prettier_lint
prettier_lint: ## Lints all the yaml files
npx prettier --check **/*.yaml
npx prettier --check **/*.yml
npx prettier --check **/*.{yaml,yml}

.PHONY: check_versions_match
check_versions_match: ## Checks the version of the extension matches the CLI
Expand Down

0 comments on commit 8467b12

Please sign in to comment.