Fix lint errors in public compiler header
This commit is contained in:
parent
cfd4d423a9
commit
18e918b704
2 changed files with 18 additions and 17 deletions
|
|
@ -8,9 +8,7 @@ if [[ ! -f $CPPLINT ]]; then
|
|||
chmod +x $CPPLINT
|
||||
fi
|
||||
|
||||
$CPPLINT \
|
||||
--root=src \
|
||||
--linelength=85 \
|
||||
--filter=-legal/copyright,-readability/todo \
|
||||
$(find src/compiler -type f) \
|
||||
2>&1
|
||||
FILTERS='--filter=-legal/copyright,-readability/todo'
|
||||
|
||||
$CPPLINT --root=include $FILTERS include/tree_sitter/compiler.h 2>&1
|
||||
$CPPLINT --root=src $FILTERS $(find src/compiler -type f) 2>&1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue