Skip to content

Commit

Permalink
move tsc to lint-js
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed May 30, 2024
1 parent cea7be7 commit 09e2dac
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ help:
@echo " - lint-yaml lint yaml files"
@echo " - lint-spell lint spelling"
@echo " - lint-spell-fix lint spelling and fix issues"
@echo " - lint-typescript lint for typescript errors"
@echo " - checks run various consistency checks"
@echo " - checks-frontend check frontend files"
@echo " - checks-backend check backend files"
Expand Down Expand Up @@ -375,10 +374,12 @@ lint-backend-fix: lint-go-fix lint-go-vet lint-editorconfig
.PHONY: lint-js
lint-js: node_modules
npx eslint --color --max-warnings=0 --ext js,ts,vue $(ESLINT_FILES)
npx tsc

.PHONY: lint-js-fix
lint-js-fix: node_modules
npx eslint --color --max-warnings=0 --ext js,ts,vue $(ESLINT_FILES) --fix
npx tsc

.PHONY: lint-css
lint-css: node_modules
Expand Down Expand Up @@ -442,10 +443,6 @@ lint-templates: .venv node_modules
lint-yaml: .venv
@poetry run yamllint .

.PHONY: lint-typescript
lint-typescript: node_modules
npx tsc

.PHONY: watch
watch:
@bash tools/watch.sh
Expand Down

0 comments on commit 09e2dac

Please sign in to comment.