frontend: Add linting for ts code

This commit is contained in:
Tom 2023-07-13 13:51:18 +02:00
parent ddb4bb3546
commit 16fa721048
18 changed files with 2299 additions and 469 deletions

View file

@ -1,4 +1,4 @@
.PHONY: clean all deps live
.PHONY: clean all deps live tslint
live:
sudo CGO_ENABLED=0 go run ./cmd/wdcli $(ARGS)
@ -9,6 +9,9 @@ wdcli:
go generate ./internal/dis/component/control/static/
CGO_ENABLED=0 go build -o ./wdcli ./cmd/wdcli
tslint:
cd internal/dis/component/server/assets/ && yarn ts-standard
deps: internal/dis/component/server/assets/node_modules
internal/dis/component/server/assets/node_modules: