Skip to content

Commit 91a9c6d

Browse files
silverwindFishrock123
authored andcommitted
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: nodejs#1686 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
1 parent ecb2436 commit 91a9c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ bench-idle:
387387
./$(NODE_EXE) benchmark/idle_clients.js &
388388

389389
jslint:
390-
./$(NODE_EXE) tools/eslint/bin/eslint.js src/*.js lib/*.js --reset --quiet
390+
./$(NODE_EXE) tools/eslint/bin/eslint.js src lib --reset --quiet
391391

392392
CPPLINT_EXCLUDE ?=
393393
CPPLINT_EXCLUDE += src/node_lttng.cc

0 commit comments

Comments
 (0)