summaryrefslogtreecommitdiff
path: root/vcbuild.bat
diff options
context:
space:
mode:
authorRoman Reiss <me@silverwind.io>2015-06-11 19:08:25 +0200
committerRoman Reiss <me@silverwind.io>2015-06-11 20:27:35 +0200
commit6e4d30286d7305335b14762271a25f5dbc5c63c0 (patch)
treec47041787c2eb7284842104a2d8774e000787182 /vcbuild.bat
parentb5b8ff117c8581945d0c8c3a4b18d53f4b33b86f (diff)
downloadandroid-node-v8-6e4d30286d7305335b14762271a25f5dbc5c63c0.tar.gz
android-node-v8-6e4d30286d7305335b14762271a25f5dbc5c63c0.tar.bz2
android-node-v8-6e4d30286d7305335b14762271a25f5dbc5c63c0.zip
tools: enable/add additional eslint rules
Enables the following rules: - no-undef: Valuable rule to error on usage of undefined variables - require-buffer: Custom rule that forbids usage of the global Buffer inside lib/ because of REPL issues. PR-URL: https://github.com/nodejs/io.js/pull/1794 Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r--vcbuild.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcbuild.bat b/vcbuild.bat
index 21e8d5411a..2bfdb890d5 100644
--- a/vcbuild.bat
+++ b/vcbuild.bat
@@ -181,7 +181,7 @@ goto jslint
:jslint
if not defined jslint goto exit
echo running jslint
-%config%\iojs tools\eslint\bin\eslint.js src lib test --reset --quiet
+%config%\iojs tools\eslint\bin\eslint.js src lib test --rulesdir tools\eslint-rules --reset --quiet
goto exit
:create-msvs-files-failed