lint: Add TypeScript compiler as a linter.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg
2019-07-20 11:40:36 -07:00
committed by Tim Abbott
parent 40e8fd24ff
commit ecfb7c6a7f
8 changed files with 20 additions and 6 deletions

3
tools/run-tsc Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
ZULIP_PATH="$(dirname "$0")/.."
exec "$ZULIP_PATH/node_modules/.bin/tsc" --project "$ZULIP_PATH/static/js" "$@"