1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-06-29 01:45:30 +00:00

add lint-typescript

This commit is contained in:
silverwind 2024-05-30 22:31:25 +02:00
parent 8b33534db7
commit cea7be7743
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443

View File

@ -223,6 +223,7 @@ 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"
@ -441,6 +442,10 @@ 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