Rule: no-empty-interface

Forbids empty interfaces.

Rationale

An empty interface is equivalent to its supertype (or {}).

Notes:
TS Only

Config

Not configurable.

Config examples
Schema
null

Code examples:

Disallows empty interfaces.
"rules": { "no-empty-interface": true }
Passes
interface I {
    foo: string;
}
Fails
interface I { }