Fix test/ jslint failures (by not linting tests)
authorisaacs <i@izs.me>
Wed, 18 Apr 2012 19:41:08 +0000 (12:41 -0700)
committerisaacs <i@izs.me>
Wed, 18 Apr 2012 19:44:28 +0000 (12:44 -0700)
In practice, it's not important to lint tests.  We lint src/
and lib/, which is where we're more prone to make mistakes that
affect real-world situations in subtle ways, and where more
changes are made that ought to be kept in a consistent style.

Tests are a mess anyways, and no one cares.

Makefile

index c6e2e09a24f651b3ad25063e54d6970c9474ab22..959896a795375c947e925a03ef24a5cd90933bed 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -229,7 +229,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/ --exclude_files lib/punycode.js
+       PYTHONPATH=tools/closure_linter/ $(PYTHON) tools/closure_linter/closure_linter/gjslint.py --unix_mode --strict --nojsdoc -r lib/ -r src/ --exclude_files lib/punycode.js
 
 cpplint:
        @$(PYTHON) tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c)