X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=.eslintrc.json;h=4630e071e53d38585b30bb149e8532483b262b0e;hb=731122f406beaf64c2ce50ff394362e2fc73ee08;hp=f7a79ac2618e399bf7d7f43948b8834863c4d1ad;hpb=6e9e4c0494c6ad6b6d9cad2ee3e3411f9dd99c96;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,