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 /src/.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 'src/.jshintrc')
-rw-r--r-- | src/.jshintrc | 52 |
1 files changed, 22 insertions, 30 deletions
diff --git a/src/.jshintrc b/src/.jshintrc index daffbf5cc..72a58de2e 100644 --- a/src/.jshintrc +++ b/src/.jshintrc @@ -1,32 +1,24 @@ { - "options": { - "browser": true, - "curly": true, - "eqnull": true, - "evil": true, - "expr": true, - "maxerr": 100, - "newcap": false, - "quotmark": "double", - "regexdash": true, - "strict": true, - "sub": true, - "trailing": true, - "undef": true, - "unused": true, - "wsh": true - }, - "globals": { - "define": true, - "DOMParser": true, - "__dirname": true, - "jQuery": true, - "global": true, - "module": true, - "exports": true, - "require": true, - "file": true, - "log": true, - "console": true - } + "curly": true, + "expr": true, + "newcap": false, + "quotmark": "double", + "regexdash": true, + "strict": true, + "trailing": true, + "undef": true, + "unused": true, + "maxerr": 100, + + "eqnull": true, + "evil": true, + "sub": true, + + "browser": true, + "wsh": true, + + "predef": [ + "define", + "jQuery" + ] } |