From 5dd8a90f734297d51ef74a6c4be23c2a4e43c4df Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sun, 25 Nov 2012 20:30:16 +0100 Subject: Make compatible with jshint, lint test/data. Close gh-1043. --- src/.jshintrc | 52 ++++++++++++++++++++++------------------------------ 1 file changed, 22 insertions(+), 30 deletions(-) (limited to 'src') 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" + ] } -- cgit v1.2.3