1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/tools/lint.sh
Parsa Ghadimi 235e549035 Add tslint
2018-07-01 21:41:53 +02:00

11 lines
282 B
Bash
Executable file

#!/bin/sh
# TODO(ry) Rewrite this script in python for portability to Windows.
set -e
cd `dirname "$0"`/..
./third_party/cpplint/cpplint.py \
--filter=-build/include_subdir \
--repository=src \
src/*.cc \
src/*.h \
src/include/*.h
node ./js/node_modules/.bin/tslint -p .