Browse Source

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.
v0.7.4-release
Maciej Małecki 13 years ago
committed by Ben Noordhuis
parent
commit
b073989e17
  1. 2
      Makefile

2
Makefile

@ -195,7 +195,7 @@ bench-idle:
./node benchmark/idle_clients.js & ./node benchmark/idle_clients.js &
jslint: 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: cpplint:
@$(PYTHON) tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c) @$(PYTHON) tools/cpplint.py $(wildcard src/*.cc src/*.h src/*.c)

Loading…
Cancel
Save