tools: make eslint work on subdirectories
The old pattern didn't include files in lib/internal. This changes the pattern to directories which makes eslint apply to all subdirectories as well. PR-URL: https://github.com/iojs/io.js/pull/1686 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
This commit is contained in:
parent
0b21ab13b7
commit
c58264e58b
2
Makefile
2
Makefile
@ -375,7 +375,7 @@ bench-idle:
|
|||||||
./$(NODE_EXE) benchmark/idle_clients.js &
|
./$(NODE_EXE) benchmark/idle_clients.js &
|
||||||
|
|
||||||
jslint:
|
jslint:
|
||||||
./$(NODE_EXE) tools/eslint/bin/eslint.js src/*.js lib/*.js --reset --quiet
|
./$(NODE_EXE) tools/eslint/bin/eslint.js src lib --reset --quiet
|
||||||
|
|
||||||
CPPLINT_EXCLUDE ?=
|
CPPLINT_EXCLUDE ?=
|
||||||
CPPLINT_EXCLUDE += src/node_lttng.cc
|
CPPLINT_EXCLUDE += src/node_lttng.cc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user