From 6064df572e8660098cebc8e90831cc40c5961496 Mon Sep 17 00:00:00 2001 From: Paul Graffam Date: Thu, 6 Oct 2016 23:17:10 -0400 Subject: [PATCH] Updated eslint rules, set to warning to continue npm execution --- .eslintrc | 58 +++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 48 insertions(+), 10 deletions(-) diff --git a/.eslintrc b/.eslintrc index d991474..fa780f9 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,15 +1,53 @@ { "rules": { - "quotes": [ - 2, - "single" - ], - "semi": [ - 2, - "always" - ], - "no-unused-vars" : 2, - "no-undef" : 2 + "no-cond-assign": 1, + "no-console": 1, + "no-constant-condition": 1, + "no-control-regex": 1, + "no-debugger": 1, + "no-dupe-args": 1, + "no-dupe-keys": 1, + "no-duplicate-case": 1, + "no-empty-character-class": 1, + "no-empty": 1, + "no-ex-assign": 1, + "no-extra-boolean-cast": 1, + "no-extra-semi": 1, + "no-func-assign": 1, + "no-inner-declarations": 1, + "no-invalid-regexp": 1, + "no-irregular-whitespace": 1, + "no-negated-in-lhs": 1, + "no-obj-calls": 1, + "no-regex-spaces": 1, + "no-sparse-arrays": 1, + "no-unreachable": 1, + "use-isnan": 1, + "valid-typeof": 1, + "no-alert": 1, + "no-else-return": 1, + "no-eval": 1, + "no-extra-bind": 1, + "no-fallthrough": 1, + "no-octal": 1, + "no-proto": 1, + "no-redeclare": [1, {"builtinGlobals": true}], + "no-useless-call": 1, + "no-delete-var": 1, + "no-undef-init": 1, + "no-undef": 1, + "no-unused-vars": 1, + "camelcase": 1, + "eol-last": 1, + "indent": [1, 2, {"SwitchCase": 1}], + "no-array-constructor": 1, + "no-continue": 1, + "no-lonely-if": 1, + "no-mixed-spaces-and-tabs": 1, + "no-new-object": 1, + "no-const-assign": 1, + "prefer-const": 1, + "prefer-spread": 1 }, "env": { "es6": true,