---
source: crates/oxc_linter/src/tester.rs
expression: eqeqeq
---
  ⚠ eslint(eqeqeq): Expected > and instead saw >=
   ╭─[eqeqeq.tsx:1:1]
 1 │ null >= 1
   · ─────────
   ╰────
  help: Prefer > operator

  ⚠ eslint(eqeqeq): Expected === and instead saw ==
   ╭─[eqeqeq.tsx:1:1]
 1 │ typeof foo == 'undefined'
   · ─────────────────────────
   ╰────
  help: Prefer === operator

  ⚠ eslint(eqeqeq): Expected !== and instead saw !=
   ╭─[eqeqeq.tsx:1:1]
 1 │ 'hello' != 'world'
   · ──────────────────
   ╰────
  help: Prefer !== operator

  ⚠ eslint(eqeqeq): Expected === and instead saw ==
   ╭─[eqeqeq.tsx:1:1]
 1 │ 0 == 0
   · ──────
   ╰────
  help: Prefer === operator

  ⚠ eslint(eqeqeq): Expected === and instead saw ==
   ╭─[eqeqeq.tsx:1:1]
 1 │ true == true
   · ────────────
   ╰────
  help: Prefer === operator

  ⚠ eslint(eqeqeq): Expected === and instead saw ==
   ╭─[eqeqeq.tsx:1:1]
 1 │ foo == null
   · ───────────
   ╰────
  help: Prefer === operator

  ⚠ eslint(eqeqeq): Expected === and instead saw ==
   ╭─[eqeqeq.tsx:1:1]
 1 │ a == b
   · ──────
   ╰────
  help: Prefer === operator

  ⚠ eslint(eqeqeq): Expected === and instead saw ==
   ╭─[eqeqeq.tsx:1:1]
 1 │ foo == true
   · ───────────
   ╰────
  help: Prefer === operator

  ⚠ eslint(eqeqeq): Expected !== and instead saw !=
   ╭─[eqeqeq.tsx:1:1]
 1 │ bananas != 1
   · ────────────
   ╰────
  help: Prefer !== operator

  ⚠ eslint(eqeqeq): Expected === and instead saw ==
   ╭─[eqeqeq.tsx:1:1]
 1 │ value == undefined
   · ──────────────────
   ╰────
  help: Prefer === operator

  ⚠ eslint(eqeqeq): Expected === and instead saw ==
   ╭─[eqeqeq.tsx:1:1]
 1 │ null == null
   · ────────────
   ╰────
  help: Prefer === operator


