summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
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 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 94f130f5fb..adebf50a0f 100644
--- a/Makefile
+++ b/Makefile
@@ -375,7 +375,7 @@ bench-idle:
./$(NODE_EXE) benchmark/idle_clients.js &
jslint:
- ./$(NODE_EXE) tools/eslint/bin/eslint.js src lib test --reset --quiet
+ ./$(NODE_EXE) tools/eslint/bin/eslint.js src lib test --rulesdir tools/eslint-rules --reset --quiet
CPPLINT_EXCLUDE ?=
CPPLINT_EXCLUDE += src/node_lttng.cc