X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=.jshintrc;h=441c4e310bb3d62abc09185c9e7515f062606379;hb=e0b6c735a8246a88d99d37d138a54cb1fe05597e;hp=b776e8f21a022b8ede512d5acf52832da4a03976;hpb=a5bafc48de78cba682d5670db9395bfa93c42cc8;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jshintrc b/.jshintrc index b776e8f21a..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,6 +20,8 @@ "browser": true, "globals": { + "require": false, + "module": false, "mediaWiki": true, "JSON": true, "OO": true,