Skip to content

Commit

Permalink
tools: make eslint work on subdirectories
Browse files Browse the repository at this point in the history
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: nodejs#1686
Reviewed-By: Chris Dickinson <[email protected]>
  • Loading branch information
silverwind authored and Fishrock123 committed May 19, 2015
1 parent ecb2436 commit 91a9c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ bench-idle:
./$(NODE_EXE) benchmark/idle_clients.js &

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 += src/node_lttng.cc
Expand Down

0 comments on commit 91a9c6d

Please sign in to comment.