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