Rule: ban

Bans the use of specific functions.

At this time, there is no way to disable global methods with this rule.

Config

A list of ['object', 'method'] pairs which ban object.method().

Examples
"ban": [true, ["console", "log"], ["someObject", "someFunction"]]
Schema
{
  "type": "list",
  "listType": {
    "type": "array",
    "arrayMembers": [
      {
        "type": "string"
      },
      {
        "type": "string"
      }
    ]
  }
}