mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-30 03:26:01 -04:00
add lint-typescript
This commit is contained in:
parent
8b33534db7
commit
cea7be7743
5
Makefile
5
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user