X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=.jshintrc;h=441c4e310bb3d62abc09185c9e7515f062606379;hb=327f0a9f6f1d6a80ae5b3c741340efb172b75432;hp=4bb244030cda053ae31b0b496a88fbd669856af4;hpb=98a1602c28be44dd61ea6a703cd404d58b2243dc;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jshintrc b/.jshintrc index 4bb244030c..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,8 +20,12 @@ "browser": true, "globals": { + "require": false, + "module": false, "mediaWiki": true, "JSON": true, + "OO": true, + "mwPerformance": true, "jQuery": false, "QUnit": false, "sinon": false