From c58264e58bca19a6a11314629bb93c10cddac7b5 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 92a7694a0a2897..451f81dde5dbea 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