From a798459636fb1a86f16acd703465b2c7bc0e3aec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 8 Apr 2013 15:02:12 -0400 Subject: [PATCH] Updated .jshintrc settings. (cherry picked from commit 8f9310609a976cb531597586cdb5a62af31f0576) --- .jshintrc | 11 ++++++++--- tests/.jshintrc | 16 ++++++++++------ ui/.jshintrc | 12 ++++++++---- 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/.jshintrc b/.jshintrc index d6966c51d..d34c42da5 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,12 +1,17 @@ { + "boss": true, "curly": true, - "eqnull": true, "eqeqeq": true, + "eqnull": true, "expr": true, + "immed": true, "noarg": true, - "node": true, "onevar": true, + "quotmark": "double", + "smarttabs": true, "trailing": true, "undef": true, - "unused": true + "unused": true, + + "node": true } diff --git a/tests/.jshintrc b/tests/.jshintrc index b987c5df6..26f47fcee 100644 --- a/tests/.jshintrc +++ b/tests/.jshintrc @@ -1,18 +1,22 @@ { - "browser": true, + "boss": true, "curly": true, - "eqnull": true, "eqeqeq": true, + "eqnull": true, "expr": true, - "evil": true, - "jquery": true, - "latedef": true, + "immed": true, "noarg": true, "onevar": true, "quotmark": "double", + "smarttabs": true, "trailing": true, "undef": true, "unused": true, + + "browser": true, + "evil": true, + "jquery": true, + "globals": { "asyncTest": false, "closeEnough": false, @@ -34,4 +38,4 @@ "TestHelpers": true, "JSHINT": false } -} \ No newline at end of file +} diff --git a/ui/.jshintrc b/ui/.jshintrc index 578ee94a1..a5d36e1d3 100644 --- a/ui/.jshintrc +++ b/ui/.jshintrc @@ -1,17 +1,21 @@ { - "browser": true, + "boss": true, "curly": true, - "eqnull": true, "eqeqeq": true, + "eqnull": true, "expr": true, - "jquery": true, - "latedef": true, + "immed": true, "noarg": true, "onevar": true, "quotmark": "double", + "smarttabs": true, "trailing": true, "undef": true, "unused": true, + + "browser": true, + "jquery": true, + "globals": { "Globalize": false }