X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=.jshintrc;h=7fa138d44f3d2d7e45884fa3854076518132da2c;hb=6716ee49b1a337e1a9e302a25e4b8c5988397c31;hp=5fb1173fcf1ef0b0a4b2230e1e7f4d6b42553348;hpb=39f9b1ee65a631f193dbd9fa6f66418de65f95d2;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 }