Skip to content

Commit 605927f

Browse files
committed
Fix test/ jslint failures (by not linting tests)
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.
1 parent 3d69bbf commit 605927f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ bench-idle:
229229
./node benchmark/idle_clients.js &
230230

231231
jslint:
232-
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
232+
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
233233

234234
cpplint:
235235
@$(PYTHON) tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c)

0 commit comments

Comments
 (0)