X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=.jshintrc;h=d77ffb81f7a805bc088bbccc9df3d57a454eceed;hb=511525a136cb85f9d4e395cbe609fb06c7d18bc7;hp=7fa138d44f3d2d7e45884fa3854076518132da2c;hpb=6fc983df0e55c0a3412503ad6662b8642a78c9e1;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jshintrc b/.jshintrc index 7fa138d44f..d77ffb81f7 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,34 +1,27 @@ { - "predef": [ - "mediaWiki", - "jQuery", - "QUnit" - ], - + // Enforcing "bitwise": true, - "camelcase": true, - "curly": true, "eqeqeq": true, - "forin": false, - "immed": true, + "es3": true, + "freeze": true, "latedef": true, - "newcap": true, "noarg": true, - "noempty": true, "nonew": true, - "quotmark": "single", - "regexp": false, "undef": true, "unused": true, "strict": false, - "trailing": true, + // Relaxing "laxbreak": true, - "smarttabs": true, "multistr": true, + // Environment "browser": true, - "nomen": true, - "onevar": true + "globals": { + "mediaWiki": true, + "JSON": true, + "jQuery": false, + "QUnit": false + } }