---
source: crates/oxc_linter/src/tester.rs
expression: no_eq_null
---
  ⚠ eslint(no-eq-null): Use '===' to compare with null
   ╭─[no_eq_null.tsx:1:5]
 1 │ if (x == null) { }
   ·     ─────────
   ╰────
  help: Disallow `null` comparisons without type-checking operators.

  ⚠ eslint(no-eq-null): Use '===' to compare with null
   ╭─[no_eq_null.tsx:1:5]
 1 │ if (x != null) { }
   ·     ─────────
   ╰────
  help: Disallow `null` comparisons without type-checking operators.

  ⚠ eslint(no-eq-null): Use '===' to compare with null
   ╭─[no_eq_null.tsx:1:14]
 1 │ do {} while (null == x)
   ·              ─────────
   ╰────
  help: Disallow `null` comparisons without type-checking operators.
