From 10ec1d2a6bed2b3ebc2f7bfb9751bf100c8cd422 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 17 Mar 2016 16:57:27 -0700 Subject: [PATCH] tools: enable linting for benchmarks PR-URL: https://github.com/nodejs/node/pull/5773 Reviewed-By: James M Snell Reviewed-By: Myles Borins --- Makefile | 4 ++-- vcbuild.bat | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d638304c7a..e526ad5242 100644 --- a/Makefile +++ b/Makefile @@ -513,8 +513,8 @@ bench-idle: $(NODE) benchmark/idle_clients.js & jslint: - $(NODE) tools/eslint/bin/eslint.js lib src test tools/doc tools/eslint-rules \ - --rulesdir tools/eslint-rules + $(NODE) tools/eslint/bin/eslint.js benchmark lib src test tools/doc \ + tools/eslint-rules --rulesdir tools/eslint-rules CPPLINT_EXCLUDE ?= CPPLINT_EXCLUDE += src/node_lttng.cc diff --git a/vcbuild.bat b/vcbuild.bat index 1a6a0e45c6..e955860b8a 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -258,7 +258,7 @@ goto jslint :jslint if not defined jslint goto exit echo running jslint -%config%\node tools\eslint\bin\eslint.js lib src test tools\doc tools\eslint-rules --rulesdir tools\eslint-rules +%config%\node tools\eslint\bin\eslint.js benchmark lib src test tools\doc tools\eslint-rules --rulesdir tools\eslint-rules goto exit :create-msvs-files-failed