Fixed eslint errors and re-enabled build.sh check (#150)

* Fixed eslint errors and re-enabled build.sh check

* Corrected typo

* Corrected typo

* Disabled max-params on files with warnings

* Fixes for PR comments

* Fixes for PR comments

* Fixes for PR comments

* Fixes for PR comments

* Fixes for PR comments

* Fixes for PR comments
This commit is contained in:
Tynan CR 2017-12-17 00:49:47 -05:00 committed by Qstick
commit 9d00a17ade
51 changed files with 84 additions and 103 deletions

View file

@ -177,7 +177,7 @@
"no-undef": "error",
"no-undef-init": "off",
"no-undefined": "off",
"no-unused-vars": ["error", { "args": "none" }],
"no-unused-vars": ["warn", { "args": "none" }],
"no-use-before-define": "error",
# Node.js and CommonJS
@ -209,7 +209,7 @@
"lines-around-comment": ["error", { "beforeBlockComment": true, "afterBlockComment": false }],
"max-depth": ["error", {"maximum": 5}],
"max-nested-callbacks": ["error", 4],
"max-params": ["error", 4],
"max-params": ["warn", 4],
"max-statements": "off",
"max-statements-per-line": ["error", { "max": 1 }],
"new-cap": ["error", {"capIsNewExceptions": ["$.Deferred"]}],