Changed tools/lint.py to lint the entire js and tests directories. (#900)

* Changed tools/lint.py to lint the entire js and tests directorys and sub directories, currently it was pointing at tsconfig and would only lint files that were part of js/main.ts or node_modules/typescript/lib/lib.esnext.d.ts and their dependencies

* Broke the typescript linting out into separate steps for the main typescript programing and tests.

* Fixed linting issues in ts tests.
This commit is contained in:
Chris Bystrek 2018-10-05 07:29:55 -04:00 committed by Ryan Dahl
parent ce9148943c
commit 6a649012bc
9 changed files with 15 additions and 10 deletions

View file

@ -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"])