From 59544da21f52b4e3eefa5929bab3efc90146f7b8 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Sat, 6 Jan 2018 14:44:18 +0100 Subject: [PATCH] tuning ESlint & JSHint --- .eslintrc | 2 +- .jshintrc | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index d356388a..fb9e3125 100644 --- a/.eslintrc +++ b/.eslintrc @@ -98,7 +98,7 @@ rules: no-octal-escape: 2 no-octal: 2 no-proto: 2 - no-redeclare: 2 + no-redeclare: 0 no-return-assign: 2 no-script-url: 2 no-self-compare: 2 diff --git a/.jshintrc b/.jshintrc index f6028b13..61932643 100644 --- a/.jshintrc +++ b/.jshintrc @@ -26,8 +26,10 @@ }, "predef": { "after": true, + "Base64": false, "before": true, "cleanup": true, + "console": true, "describe": false, "document": true, "fs": false, @@ -36,6 +38,7 @@ "it": false, "jsc": false, "jsdom": true, + "navigator": true, "require": false, "window": true }