X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=.jshintrc;h=7fa138d44f3d2d7e45884fa3854076518132da2c;hb=e27d3a96e72847a349aaafa979bb4bb1f499f57a;hp=5fb1173fcf1ef0b0a4b2230e1e7f4d6b42553348;hpb=ed904243deeab71b7f1f2ccf791b5338d86bfee2;p=lhc%2Fweb%2Fwiklou.git diff --git a/.jshintrc b/.jshintrc index 5fb1173fcf..7fa138d44f 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,18 +1,26 @@ { "predef": [ "mediaWiki", - "mw", + "jQuery", "QUnit" ], "bitwise": true, + "camelcase": true, "curly": true, "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, "laxbreak": true, @@ -20,5 +28,7 @@ "multistr": true, "browser": true, - "jquery": true + + "nomen": true, + "onevar": true }