frontend: Add linting for ts code
This commit is contained in:
parent
ddb4bb3546
commit
16fa721048
18 changed files with 2299 additions and 469 deletions
5
Makefile
5
Makefile
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue