Rule: no-console

Bans the use of specified console methods.

Rationale

In general, console methods aren’t appropriate for production code.

Config

A list of method names to ban. If no method names are provided, all console methods are banned.

Config examples
"no-console": [true, "log", "error"]
Schema
{
  "type": "array",
  "items": {
    "type": "string"
  }
}