eslint-plugin-misc

ESLint plugin

This project is maintained by iliubinskii

typescript/no-empty-interfaces

ESLint plugin / typescript/no-empty-interfaces

Disallow empty interfaces.

module.exports = {
  plugins: ["misc"],
  rules: {
    "misc/typescript/no-empty-interfaces": "error"
  }
};

Examples of incorrect code

interface I {}

Examples of correct code

interface I {
  x: string;
}