From a9e1755cb96c54ed3ead77f3eb375544fbf2b4b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 26 Mar 2013 14:44:32 -0400 Subject: [PATCH] Build: Use globals instead of predef for JSHint. --- tests/.jshintrc | 42 +++++++++++++++++++++--------------------- ui/.jshintrc | 6 +++--- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/tests/.jshintrc b/tests/.jshintrc index c196d86ef..b987c5df6 100644 --- a/tests/.jshintrc +++ b/tests/.jshintrc @@ -13,25 +13,25 @@ "trailing": true, "undef": true, "unused": true, - "predef": [ - "asyncTest", - "closeEnough", - "deepEqual", - "domEqual", - "equal", - "expect", - "Globalize", - "module", - "notEqual", - "notDeepEqual", - "notStrictEqual", - "ok", - "QUnit", - "start", - "strictEqual", - "stop", - "test", - "TestHelpers", - "JSHINT" - ] + "globals": { + "asyncTest": false, + "closeEnough": false, + "deepEqual": false, + "domEqual": false, + "equal": false, + "expect": false, + "Globalize": false, + "module": false, + "notEqual": false, + "notDeepEqual": false, + "notStrictEqual": false, + "ok": false, + "QUnit": true, + "start": false, + "strictEqual": false, + "stop": false, + "test": false, + "TestHelpers": true, + "JSHINT": false + } } \ No newline at end of file diff --git a/ui/.jshintrc b/ui/.jshintrc index c7589525f..578ee94a1 100644 --- a/ui/.jshintrc +++ b/ui/.jshintrc @@ -12,7 +12,7 @@ "trailing": true, "undef": true, "unused": true, - "predef": [ - "Globalize" - ] + "globals": { + "Globalize": false + } } -- 2.39.5