Skip to content

Commit 634c994

Browse files
committed
tools: enable linting for benchmarks
1 parent 37cc637 commit 634c994

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,8 @@ bench-idle:
578578
$(NODE) benchmark/idle_clients.js &
579579

580580
jslint:
581-
$(NODE) tools/eslint/bin/eslint.js lib src test tools/doc tools/eslint-rules \
582-
--rulesdir tools/eslint-rules
581+
$(NODE) tools/eslint/bin/eslint.js benchmark lib src test tools/doc \
582+
tools/eslint-rules --rulesdir tools/eslint-rules
583583

584584
CPPLINT_EXCLUDE ?=
585585
CPPLINT_EXCLUDE += src/node_lttng.cc

vcbuild.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ goto jslint
259259
:jslint
260260
if not defined jslint goto exit
261261
echo running jslint
262-
%config%\node tools\eslint\bin\eslint.js lib src test tools\doc tools\eslint-rules --rulesdir tools\eslint-rules
262+
%config%\node tools\eslint\bin\eslint.js benchmark lib src test tools\doc tools\eslint-rules --rulesdir tools\eslint-rules
263263
goto exit
264264

265265
:create-msvs-files-failed

0 commit comments

Comments
 (0)