Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit c58264e

Browse files
committed
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/node#1686 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
1 parent 0b21ab1 commit c58264e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ bench-idle:
375375
./$(NODE_EXE) benchmark/idle_clients.js &
376376

377377
jslint:
378-
./$(NODE_EXE) tools/eslint/bin/eslint.js src/*.js lib/*.js --reset --quiet
378+
./$(NODE_EXE) tools/eslint/bin/eslint.js src lib --reset --quiet
379379

380380
CPPLINT_EXCLUDE ?=
381381
CPPLINT_EXCLUDE += src/node_lttng.cc

0 commit comments

Comments
 (0)