Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[js] set the maximum line length while linting to 200
  • Loading branch information
pmurias committed Oct 4, 2015
1 parent 5522fb4 commit 779dc95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/build/Makefile-JS.in
Expand Up @@ -65,7 +65,7 @@ js-clean:

js-all : m-all js-stage1-compiler node_modules/runtime_copied $(JS_STAGE2)/NQPCORE.setting.moarvm $(JS_STAGE2)/$(CORE_SETTING_COMBINED).nqp $(JS_STAGE2)/QASTNode.moarvm $(JS_STAGE2)/QRegex.moarvm
js-lint:
gjslint --strict --nojsdoc src/vm/js/nqp-runtime/*.js
gjslint --strict --max_line_length=200 --nojsdoc src/vm/js/nqp-runtime/*.js
node_modules/npm_installed: src/vm/js/nqp-runtime/package.json
npm install src/vm/js/nqp-runtime
touch node_modules/npm_installed
Expand Down
2 changes: 1 addition & 1 deletion tools/build/gen-js-makefile.nqp
Expand Up @@ -127,7 +127,7 @@ deps("js-all", 'm-all', 'js-stage1-compiler', 'node_modules/runtime_copied',$nqp

# Enforce the google coding standards
say("js-lint:
gjslint --strict --nojsdoc src/vm/js/nqp-runtime/*.js");
gjslint --strict --max_line_length=200 --nojsdoc src/vm/js/nqp-runtime/*.js");

say('node_modules/npm_installed: src/vm/js/nqp-runtime/package.json
npm install src/vm/js/nqp-runtime
Expand Down

0 comments on commit 779dc95

Please sign in to comment.