From b073989e17b4ae9ca43cbcc0c004f40e99812c2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Maciej=20Ma=C5=82ecki?= Date: Tue, 10 Jan 2012 23:29:11 +0100 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 70ef273..db4880a 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) -- 2.7.4