Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
makefile: ignore lib/punycode.js while linting
Browse files Browse the repository at this point in the history
`punycode` is a third party code which generates a lot of lint errors.
Upstream was contacted in order to fix it in mathiasbynens/punycode.js#6, but
request was denied.

Therefore, it's reasonable to exclude this file from linting process.

Ref #2456.
  • Loading branch information
mmalecki authored and bnoordhuis committed Jan 11, 2012
1 parent 8cca30f commit b073989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -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)
Expand Down

0 comments on commit b073989

Please sign in to comment.