X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=.jshintrc;h=c4e265a4de6d9b514a34b31e1713c25621dc84cc;hb=c6218b8f008403c519d797140b76ae4f215347e3;hp=3c801c222ee4ee8d4bb5a2f4bbb12fc22a14770a;hpb=7ab935b039e67242b8607335b78f4e85c0eaed0d;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jshintrc b/.jshintrc index 3c801c222e..c4e265a4de 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,22 +1,42 @@ { - "predef": [ - "mediaWiki", - "jQuery", - "QUnit" - ], + /* Common */ - "bitwise": true, + // Enforcing + "camelcase": true, "curly": true, "eqeqeq": true, "immed": true, "latedef": true, "newcap": true, + "noarg": true, "noempty": true, - "undef": true, + "nonew": true, + "quotmark": "single", "trailing": true, + "undef": true, + "unused": true, + // Legacy + "onevar": true, + /* Local */ + + // Enforcing + "bitwise": true, + "forin": false, + "regexp": false, + "strict": false, + // Relaxing "laxbreak": true, "smarttabs": true, + "multistr": true, + // Environment + "browser": true, + // Legacy + "nomen": true, - "browser": true + "predef": [ + "mediaWiki", + "jQuery", + "QUnit" + ] }