Skip to content

Commit 5a7a6d9

Browse files
committed
tools: enable caching for jslint task
PR-URL: nodejs#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 2011158 commit 5a7a6d9

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

+1
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

+2-1
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,8 @@ bench: bench-net bench-http bench-fs bench-tls
678678
bench-ci: bench
679679

680680
jslint:
681-
$(NODE) tools/jslint.js -J benchmark lib test tools
681+
$(NODE) tools/eslint/bin/eslint.js --cache --rulesdir=tools/eslint-rules \
682+
benchmark lib test tools
682683

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

vcbuild.bat

+1-1
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)