X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=.jshintrc;h=c4e265a4de6d9b514a34b31e1713c25621dc84cc;hb=5d314a97699c836a84e8282c86469f18fe0b6eb5;hp=4cf86b8e0dcd1893f04b31534bc6ab1c598df190;hpb=a38bde74e124f6736202aab8b4842b4db4aa02ce;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jshintrc b/.jshintrc index 4cf86b8e0d..c4e265a4de 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,10 +1,8 @@ { - "predef": [ - "mediaWiki", - "QUnit" - ], + /* Common */ - "bitwise": true, + // Enforcing + "camelcase": true, "curly": true, "eqeqeq": true, "immed": true, @@ -13,18 +11,32 @@ "noarg": true, "noempty": true, "nonew": true, - "regexp": false, - "undef": true, - "strict": false, + "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, - "jquery": true, - + // Legacy "nomen": true, - "onevar": false + + "predef": [ + "mediaWiki", + "jQuery", + "QUnit" + ] }