diff options
author | Timo Tijhof <krinklemail@gmail.com> | 2012-11-25 20:30:16 +0100 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2012-12-06 13:46:37 -0500 |
commit | 5dd8a90f734297d51ef74a6c4be23c2a4e43c4df (patch) | |
tree | a48254b428fdeab0c15bdfc1233c5745c26cc6b2 /test/.jshintrc | |
parent | 26bf8dd56bfbef54a07cbba519485dcd59add839 (diff) | |
download | jquery-5dd8a90f734297d51ef74a6c4be23c2a4e43c4df.tar.gz jquery-5dd8a90f734297d51ef74a6c4be23c2a4e43c4df.zip |
Make compatible with jshint, lint test/data. Close gh-1043.
Diffstat (limited to 'test/.jshintrc')
-rw-r--r-- | test/.jshintrc | 112 |
1 files changed, 53 insertions, 59 deletions
diff --git a/test/.jshintrc b/test/.jshintrc index 2dd668c3f..76e215f1e 100644 --- a/test/.jshintrc +++ b/test/.jshintrc @@ -1,61 +1,55 @@ { - "options": { - "browser": true, - "curly": true, - "devel": true, - "eqnull": true, - "evil": true, - "expr": true, - "maxerr": 100, - "quotmark": "double", - "smarttabs": true, - "sub": true, - "trailing": true, - "undef": true, - "wsh": true - }, - "globals": { - "define": true, - "DOMParser": true, - "__dirname": true, - "jQuery": true, - "global": true, - "module": true, - "exports": true, - "require": true, - "file": true, - "log": true, - "QUnit": true, - "ok": true, - "equal": true, - "test": true, - "asyncTest": true, - "notEqual": true, - "deepEqual": true, - "strictEqual": true, - "notStrictEqual": true, - "start": true, - "stop": true, - "expect": true, - "raises": true, - "ajaxTest": true, - "testIframe": true, - "testIframeWithCallback": true, - "createDashboardXML": true, - "createXMLFragment": true, - "moduleTeardown": true, - "testFoo": true, - "url": true, - "t": true, - "q": true, - "amdDefined": true, - "fireNative": true, - "Globals": true, - "hasPHP": true, - "isLocal": true, - "originaljQuery": true, - "$": true, - "original$": true, - "externalHost": true - } + "curly": true, + "expr": true, + "quotmark": "double", + "trailing": true, + "undef": true, + "maxerr": 100, + + "eqnull": true, + "evil": true, + "smarttabs": true, + "sub": true, + + "browser": true, + "devel": true, + "wsh": true, + + "predef": [ + "DOMParser", + "jQuery", + "QUnit", + "module", + "ok", + "equal", + "test", + "asyncTest", + "notEqual", + "deepEqual", + "strictEqual", + "notStrictEqual", + "start", + "stop", + "expect", + "raises", + "ajaxTest", + "testIframe", + "testIframeWithCallback", + "createDashboardXML", + "createXMLFragment", + "moduleTeardown", + "testFoo", + "url", + "t", + "q", + "amdDefined", + "fireNative", + "Globals", + "hasPHP", + "isLocal", + "originaljQuery", + "$", + "original$", + "externalHost" + ] } |