Rule: adjacent-overload-signatures

Enforces function overloads to be consecutive.

Rationale

Improves readability and organization by grouping naturally related items together.

Notes:
TS Only

Config

If ignore-accessors is specified, then getters and setters are not considered to be overloads of function with the same signature.

Config examples
"adjacent-overload-signatures": true
"adjacent-overload-signatures": [true, {"OPTION_IGNORE_ACCESSORS": true}]
Schema
{
  "type": "object",
  "properties": {
    "ignore-accessors": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}