---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint(no-void): Disallow `void` operators
   ╭─[no_void.tsx:1:1]
 1 │ void 0
   · ────
   ╰────
  help: Expected 'undefined' and instead saw 'void'.

  ⚠ eslint(no-void): Disallow `void` operators
   ╭─[no_void.tsx:1:1]
 1 │ void 0
   · ────
   ╰────
  help: Expected 'undefined' and instead saw 'void'.

  ⚠ eslint(no-void): Disallow `void` operators
   ╭─[no_void.tsx:1:1]
 1 │ void 0
   · ────
   ╰────
  help: Expected 'undefined' and instead saw 'void'.

  ⚠ eslint(no-void): Disallow `void` operators
   ╭─[no_void.tsx:1:1]
 1 │ void(0)
   · ────
   ╰────
  help: Expected 'undefined' and instead saw 'void'.

  ⚠ eslint(no-void): Disallow `void` operators
   ╭─[no_void.tsx:1:11]
 1 │ var foo = void 0
   ·           ────
   ╰────
  help: Expected 'undefined' and instead saw 'void'.

  ⚠ eslint(no-void): Disallow `void` operators
   ╭─[no_void.tsx:1:11]
 1 │ var foo = void 0
   ·           ────
   ╰────
  help: Expected 'undefined' and instead saw 'void'.
