summaryrefslogtreecommitdiff
path: root/tools/lint.sh
blob: 90e79ce8980a85470275a5bbd46d39269480bc2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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 third_party/node_modules/.bin/tslint -p . \
  --exclude js/msg_generated.ts