X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=.jshintrc;h=441c4e310bb3d62abc09185c9e7515f062606379;hb=83fb19cb13f3485cfde25f550b8fc81fb9c61b95;hp=b776e8f21a022b8ede512d5acf52832da4a03976;hpb=38ba6b620be9f6333d902055ae1c0c610af4985e;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,