Skip to content

Commit 773e1c1

Browse files
TrottFishrock123
authored andcommitted
tools: enable caching for jslint task
PR-URL: #8296 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent 54f689f commit 773e1c1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ node_g
1919
/.project
2020
/.cproject
2121
icu_config.gypi
22+
.eslintcache
2223

2324
/out
2425

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,8 @@ bench-idle:
686686
$(NODE) benchmark/idle_clients.js &
687687

688688
jslint:
689-
$(NODE) tools/jslint.js -J benchmark lib test tools
689+
$(NODE) tools/eslint/bin/eslint.js --cache --rulesdir=tools/eslint-rules \
690+
benchmark lib test tools
690691

691692
jslint-ci:
692693
$(NODE) tools/jslint.js $(PARALLEL_ARGS) -f tap -o test-eslint.tap \

vcbuild.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ if defined jslint_ci goto jslint-ci
363363
if not defined jslint goto exit
364364
if not exist tools\eslint\lib\eslint.js goto no-lint
365365
echo running jslint
366-
%config%\node tools\jslint.js -J benchmark lib test tools
366+
%config%\node tools\eslint\bin\eslint.js --cache --rulesdir=tools\eslint-rules benchmark lib test tools
367367
goto exit
368368

369369
:jslint-ci

0 commit comments

Comments
 (0)