X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=.jshintrc;h=518d5cbec1448364093ebdee5adbc977807ae3b7;hb=37751ee23e7b7019307eafe36f18c8450bf2e420;hp=b776e8f21a022b8ede512d5acf52832da4a03976;hpb=ee734d0d3c7533bd9a690dbd71f5151da55c32ad;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jshintrc b/.jshintrc index b776e8f21a..518d5cbec1 100644 --- a/.jshintrc +++ b/.jshintrc @@ -2,23 +2,27 @@ // 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, "multistr": true, + "-W024": false, // Environment "browser": true, "globals": { + "require": false, + "module": false, "mediaWiki": true, "JSON": true, "OO": true,