X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=.jshintrc;h=92c8c4320c0af0c1f44555c5cd1f7802d6c0e9a9;hb=91feae9ce0969905a761bb5730008ce3fc4ad963;hp=b86ceb5f0c9185c6aed8bfcc6a04c684aa6e6b38;hpb=410d1617dbb245d351a85eac9391c0b73960e691;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jshintrc b/.jshintrc index b86ceb5f0c..92c8c4320c 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,30 +1,26 @@ { - "predef": [ - "mediaWiki", - "QUnit" - ], - + // Enforcing "bitwise": true, - "curly": true, "eqeqeq": true, - "immed": true, + "es3": true, + "freeze": true, "latedef": true, - "newcap": true, "noarg": true, - "noempty": true, "nonew": true, - "regexp": false, "undef": true, + "unused": true, "strict": false, - "trailing": true, + // Relaxing "laxbreak": true, - "smarttabs": true, "multistr": true, + // Environment "browser": true, - "jquery": true, - "nomen": true, - "onevar": true + "globals": { + "mediaWiki": true, + "jQuery": false, + "QUnit": false + } }