X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=.eslintrc.json;h=4630e071e53d38585b30bb149e8532483b262b0e;hb=a2001cd3bf25c0bbad7d7f7c755d04510c34de28;hp=f7a79ac2618e399bf7d7f43948b8834863c4d1ad;hpb=02a115bc190e972c3430f0c018d6db90d664b0e5;p=lhc%2Fweb%2Fwiklou.git diff --git a/.eslintrc.json b/.eslintrc.json index f7a79ac261..4630e071e5 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -25,6 +25,11 @@ "property": "inArray", "message": "Please use Array.prototype.indexOf instead" }, + { + "object": "$", + "property": "each", + "message": "Please consider different approaches to $.each, especially when using Array's. You can override this warning if necessary with eslint-disable-next-line." + }, { "object": "$", "property": "isArray", @@ -44,6 +49,11 @@ "object": "$", "property": "trim", "message": "Please use String.prototype.trim instead" + }, + { + "object": "$", + "property": "proxy", + "message": "Please use Function.prototype.bind instead" } ], "dot-notation": 0,