From 09e2dac12e25ba70ca5a5dec97ab58b040e24f49 Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 30 May 2024 22:48:29 +0200 Subject: [PATCH] move tsc to lint-js --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6f75a7e7ed..60beb9f42d 100644 --- a/Makefile +++ b/Makefile @@ -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" @@ -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 @@ -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