---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint(no-useless-constructor): Empty constructors are unnecessary
   ╭─[no_useless_constructor.tsx:1:11]
 1 │ class A { constructor(){} }
   ·           ───────────────
   ╰────
  help: Remove the constructor or add code to it.

  ⚠ eslint(no-useless-constructor): Empty constructors are unnecessary
   ╭─[no_useless_constructor.tsx:1:11]
 1 │ class A { 'constructor'(){} }
   ·           ─────────────────
   ╰────
  help: Remove the constructor or add code to it.

  ⚠ eslint(no-useless-constructor): Redundant super call in constructor
   ╭─[no_useless_constructor.tsx:1:21]
 1 │ class A extends B { constructor() { super(); } }
   ·                     ──────────────────────────
   ╰────
  help: Constructors of subclasses invoke super() automatically if they are empty. Remove this constructor or add code to it.

  ⚠ eslint(no-useless-constructor): Redundant super call in constructor
   ╭─[no_useless_constructor.tsx:1:21]
 1 │ class A extends B { constructor(foo){ super(foo); } }
   ·                     ───────────────────────────────
   ╰────
  help: Constructors of subclasses invoke super() automatically if they are empty. Remove this constructor or add code to it.

  ⚠ eslint(no-useless-constructor): Redundant super call in constructor
   ╭─[no_useless_constructor.tsx:1:21]
 1 │ class A extends B { constructor(foo, bar){ super(foo, bar); } }
   ·                     ─────────────────────────────────────────
   ╰────
  help: Constructors of subclasses invoke super() automatically if they are empty. Remove this constructor or add code to it.

  ⚠ eslint(no-useless-constructor): Redundant super call in constructor
   ╭─[no_useless_constructor.tsx:1:21]
 1 │ class A extends B { constructor(...args){ super(...args); } }
   ·                     ───────────────────────────────────────
   ╰────
  help: Constructors of subclasses invoke super() automatically if they are empty. Remove this constructor or add code to it.

  ⚠ eslint(no-useless-constructor): Redundant super call in constructor
   ╭─[no_useless_constructor.tsx:1:23]
 1 │ class A extends B.C { constructor() { super(...arguments); } }
   ·                       ──────────────────────────────────────
   ╰────
  help: Constructors of subclasses invoke super() automatically if they are empty. Remove this constructor or add code to it.

  ⚠ eslint(no-useless-constructor): Redundant super call in constructor
   ╭─[no_useless_constructor.tsx:1:21]
 1 │ class A extends B { constructor(a, b, ...c) { super(...arguments); } }
   ·                     ────────────────────────────────────────────────
   ╰────
  help: Constructors of subclasses invoke super() automatically if they are empty. Remove this constructor or add code to it.

  ⚠ eslint(no-useless-constructor): Redundant super call in constructor
   ╭─[no_useless_constructor.tsx:1:21]
 1 │ class A extends B { constructor(a, b, ...c) { super(a, b, ...c); } }
   ·                     ──────────────────────────────────────────────
   ╰────
  help: Constructors of subclasses invoke super() automatically if they are empty. Remove this constructor or add code to it.

  ⚠ eslint(no-useless-constructor): Empty constructors are unnecessary
   ╭─[no_useless_constructor.tsx:1:11]
 1 │ class A { public constructor(){} }
   ·           ──────────────────────
   ╰────
  help: Remove the constructor or add code to it.
