X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=.jshintrc;h=441c4e310bb3d62abc09185c9e7515f062606379;hb=327f0a9f6f1d6a80ae5b3c741340efb172b75432;hp=d72c31d66f0134d8c8a6d30c2133d4984019efc1;hpb=c3f5ee0973fba27bab9a50f83eb637de72f7c659;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jshintrc b/.jshintrc index d72c31d66f..441c4e310b 100644 --- a/.jshintrc +++ b/.jshintrc @@ -2,14 +2,15 @@ // Enforcing "bitwise": true, "eqeqeq": true, - "es3": true, + "esversion": 3, "freeze": true, - "latedef": true, + "futurehostile": true, + "latedef": "nofunc", "noarg": true, "nonew": true, + "strict": false, "undef": true, "unused": true, - "strict": false, // Relaxing "laxbreak": true, @@ -19,9 +20,12 @@ "browser": true, "globals": { + "require": false, + "module": false, "mediaWiki": true, "JSON": true, "OO": true, + "mwPerformance": true, "jQuery": false, "QUnit": false, "sinon": false