From 6d22003757c22cd3818feaa07eb8180e5b93580d Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 2 Mar 2016 13:38:30 -0800 Subject: [PATCH] tools: enable linting for benchmarks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/5517 Reviewed-By: Brian White Reviewed-By: Michaƫl Zasso Reviewed-By: Evan Lucas Reviewed-By: James M Snell --- Makefile | 4 ++-- vcbuild.bat | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4962bd4e47e447..221dd74e9d5c38 100644 --- a/Makefile +++ b/Makefile @@ -578,8 +578,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 7fc1f74cc6f175..8a9f1c30694601 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -259,7 +259,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