summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile3
-rw-r--r--vcbuild.bat2
3 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index ade43c5baa..509a5a6659 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,6 +19,7 @@ node_g
/.project
/.cproject
icu_config.gypi
+.eslintcache
/out
diff --git a/Makefile b/Makefile
index 0b5459a7e3..529cc27f48 100644
--- a/Makefile
+++ b/Makefile
@@ -678,7 +678,8 @@ bench: bench-net bench-http bench-fs bench-tls
bench-ci: bench
jslint:
- $(NODE) tools/jslint.js -J benchmark lib test tools
+ $(NODE) tools/eslint/bin/eslint.js --cache --rulesdir=tools/eslint-rules \
+ benchmark lib test tools
jslint-ci:
$(NODE) tools/jslint.js $(PARALLEL_ARGS) -f tap -o test-eslint.tap \
diff --git a/vcbuild.bat b/vcbuild.bat
index d09f7fcb97..05f2a1c268 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -363,7 +363,7 @@ if defined jslint_ci goto jslint-ci
if not defined jslint goto exit
if not exist tools\eslint\lib\eslint.js goto no-lint
echo running jslint
-%config%\node tools\jslint.js -J benchmark lib test tools
+%config%\node tools\eslint\bin\eslint.js --cache --rulesdir=tools\eslint-rules benchmark lib test tools
goto exit
:jslint-ci