X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=.jshintrc;h=92c8c4320c0af0c1f44555c5cd1f7802d6c0e9a9;hb=85e20863690bfee68048aac8472e9d585df78172;hp=9d6c4d21805282be6d4f8c5d881d42e1b4e5c0d8;hpb=feeac7bdfc9c629e40e5de0b1825daa2bd634a55;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jshintrc b/.jshintrc index 9d6c4d2180..92c8c4320c 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,36 +1,26 @@ { - /* Common */ - // Enforcing + "bitwise": true, "eqeqeq": true, + "es3": true, + "freeze": true, "latedef": true, "noarg": true, "nonew": true, "undef": true, "unused": 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, - "predef": [ - "mediaWiki", - "jQuery", - "QUnit" - ] + "globals": { + "mediaWiki": true, + "jQuery": false, + "QUnit": false + } }