X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles_versions%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=blobdiff_plain;f=.jshintrc;h=441c4e310bb3d62abc09185c9e7515f062606379;hb=4d673afd750991d0cc9d96023588ac7e238da93f;hp=4bb244030cda053ae31b0b496a88fbd669856af4;hpb=fbcb3d5f980a9be0611424764d6f18e749e4c1c9;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