X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=.jshintrc;h=c4e265a4de6d9b514a34b31e1713c25621dc84cc;hp=b86ceb5f0c9185c6aed8bfcc6a04c684aa6e6b38;hb=1c17715dd426484a7a835d00692e6b6d4f51a538;hpb=0ff38babe345a92b3c445f3fbfce4fca3a678f13 diff --git a/.jshintrc b/.jshintrc index b86ceb5f0c..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": true + + "predef": [ + "mediaWiki", + "jQuery", + "QUnit" + ] }