From: Roman Reiss Date: Tue, 12 May 2015 19:29:03 +0000 (+0200) Subject: tools: make eslint work on subdirectories X-Git-Tag: v2.0.2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c58264e58bca19a6a11314629bb93c10cddac7b5;p=platform%2Fupstream%2Fnodejs.git 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 --- diff --git a/Makefile b/Makefile index 92a7694..451f81d 100644 --- a/Makefile +++ b/Makefile @@ -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