X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27votes%27%2C%20votes=%27waiting%27%29%20%7D%7D?a=blobdiff_plain;f=.jshintrc;h=9d6c4d21805282be6d4f8c5d881d42e1b4e5c0d8;hb=0f799ce2b299a5288979945490136b485f2f9382;hp=7fa138d44f3d2d7e45884fa3854076518132da2c;hpb=3158abd3517162205711488e079d06928848ec75;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jshintrc b/.jshintrc index 7fa138d44f..9d6c4d2180 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,34 +1,36 @@ { - "predef": [ - "mediaWiki", - "jQuery", - "QUnit" - ], + /* Common */ - "bitwise": true, - "camelcase": true, - "curly": true, + // Enforcing "eqeqeq": true, - "forin": false, - "immed": true, "latedef": true, - "newcap": true, "noarg": true, - "noempty": true, "nonew": true, - "quotmark": "single", - "regexp": false, "undef": true, "unused": true, - "strict": false, - "trailing": true, + /* Local */ + + // FIXME: Deprecated, handle these with node-jscs instead. + // Handled here because we still have inline overrides in some places. + "camelcase": true, + "nomen": true, + + // Enforcing + "bitwise": true, + "forin": false, + "regexp": false, + "strict": false, + // Relaxing "laxbreak": true, "smarttabs": true, "multistr": true, - + // Environment "browser": true, - "nomen": true, - "onevar": true + "predef": [ + "mediaWiki", + "jQuery", + "QUnit" + ] }