summaryrefslogtreecommitdiff
path: root/tools/lint.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint.py')
-rwxr-xr-xtools/lint.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lint.py b/tools/lint.py
index e5a4f1690..2f38da2e8 100755
--- a/tools/lint.py
+++ b/tools/lint.py
@@ -17,4 +17,6 @@ run([
"python", cpplint, "--filter=-build/include_subdir", "--repository=src",
"--extensions=cc,h", "--recursive", "src/."
])
+
run(["node", tslint, "-p", ".", "--exclude", "**/gen/**/*.ts"])
+run(["node", tslint, "./js/**/*_test.ts", "./tests/**/*.ts", "--exclude", "**/gen/**/*.ts"])