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: #1686
Reviewed-By: Chris Dickinson <[email protected]>
  • Loading branch information
silverwind committed May 12, 2015
1 parent 0b21ab1 commit c58264e
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 @@ -375,7 +375,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 c58264e

Please sign in to comment.