diff options
author | Roman Reiss <me@silverwind.io> | 2015-06-11 19:08:25 +0200 |
---|---|---|
committer | Roman Reiss <me@silverwind.io> | 2015-06-11 20:27:35 +0200 |
commit | 6e4d30286d7305335b14762271a25f5dbc5c63c0 (patch) | |
tree | c47041787c2eb7284842104a2d8774e000787182 /Makefile | |
parent | b5b8ff117c8581945d0c8c3a4b18d53f4b33b86f (diff) | |
download | node-new-6e4d30286d7305335b14762271a25f5dbc5c63c0.tar.gz |
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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |