From 91a9c6d157e66e850ffa0cb5349637918f05eb97 Mon Sep 17 00:00:00 2001 From: Roman Reiss Date: Tue, 12 May 2015 21:29:03 +0200 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c87a8ea7f1cedf..e25ef0dcf525b2 100644 --- a/Makefile +++ b/Makefile @@ -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