Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej MaƂecki <maciej.malecki@notimplemented.org>2012-01-11 02:29:11 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-01-11 13:42:33 +0400
commitb073989e17b4ae9ca43cbcc0c004f40e99812c2a (patch)
treecc77132bd83f2e91573552d3b08209d701c5308a /Makefile
parent8cca30f31b2b71812e340692f2892fd5bf9df5db (diff)
makefile: ignore `lib/punycode.js` while linting
`punycode` is a third party code which generates a lot of lint errors. Upstream was contacted in order to fix it in bestiejs/punycode.js#6, but request was denied. Therefore, it's reasonable to exclude this file from linting process. Ref #2456.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 70ef2734a27..db4880abfed 100644
--- a/Makefile
+++ b/Makefile
@@ -195,7 +195,7 @@ bench-idle:
./node benchmark/idle_clients.js &
jslint:
- PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ -r test/
+ PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ -r test/ --exclude_files lib/punycode.js
cpplint:
@$(PYTHON) tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c)