---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint-plugin-unicorn(no-negation-in-equality-check): Negated expression is not allowed in equality check.
   ╭─[no_negation_in_equality_check.tsx:1:1]
 1 │ !foo === bar
   · ────
   ╰────
  help: Remove the negation operator and use '!==' instead of '==='.

  ⚠ eslint-plugin-unicorn(no-negation-in-equality-check): Negated expression is not allowed in equality check.
   ╭─[no_negation_in_equality_check.tsx:1:1]
 1 │ !foo !== bar
   · ────
   ╰────
  help: Remove the negation operator and use '===' instead of '!=='.

  ⚠ eslint-plugin-unicorn(no-negation-in-equality-check): Negated expression is not allowed in equality check.
   ╭─[no_negation_in_equality_check.tsx:1:1]
 1 │ !foo == bar
   · ────
   ╰────
  help: Remove the negation operator and use '!=' instead of '=='.

  ⚠ eslint-plugin-unicorn(no-negation-in-equality-check): Negated expression is not allowed in equality check.
   ╭─[no_negation_in_equality_check.tsx:1:1]
 1 │ !foo != bar
   · ────
   ╰────
  help: Remove the negation operator and use '==' instead of '!='.

  ⚠ eslint-plugin-unicorn(no-negation-in-equality-check): Negated expression is not allowed in equality check.
   ╭─[no_negation_in_equality_check.tsx:3:14]
 2 │                         function x() {
 3 │                             return!foo === bar;
   ·                                   ────
 4 │                         }
   ╰────
  help: Remove the negation operator and use '!==' instead of '==='.

  ⚠ eslint-plugin-unicorn(no-negation-in-equality-check): Negated expression is not allowed in equality check.
   ╭─[no_negation_in_equality_check.tsx:3:14]
 2 │                             function x() {
 3 │ ╭─▶                             return!
 4 │ ╰─▶                                 foo === bar;
 5 │                                 throw!
   ╰────
  help: Remove the negation operator and use '!==' instead of '==='.

  ⚠ eslint-plugin-unicorn(no-negation-in-equality-check): Negated expression is not allowed in equality check.
   ╭─[no_negation_in_equality_check.tsx:5:13]
 4 │                                     foo === bar;
 5 │ ╭─▶                             throw!
 6 │ ╰─▶                                 foo === bar;
 7 │                             }
   ╰────
  help: Remove the negation operator and use '!==' instead of '==='.

  ⚠ eslint-plugin-unicorn(no-negation-in-equality-check): Negated expression is not allowed in equality check.
   ╭─[no_negation_in_equality_check.tsx:3:7]
 2 │                         foo
 3 │                         !(a) === b
   ·                         ────
 4 │                     
   ╰────
  help: Remove the negation operator and use '!==' instead of '==='.

  ⚠ eslint-plugin-unicorn(no-negation-in-equality-check): Negated expression is not allowed in equality check.
   ╭─[no_negation_in_equality_check.tsx:3:7]
 2 │                         foo
 3 │                         ![a, b].join('') === c
   ·                         ────────────────
 4 │                     
   ╰────
  help: Remove the negation operator and use '!==' instead of '==='.

  ⚠ eslint-plugin-unicorn(no-negation-in-equality-check): Negated expression is not allowed in equality check.
   ╭─[no_negation_in_equality_check.tsx:3:7]
 2 │                         foo
 3 │                         ! [a, b].join('') === c
   ·                         ─────────────────
 4 │                     
   ╰────
  help: Remove the negation operator and use '!==' instead of '==='.

  ⚠ eslint-plugin-unicorn(no-negation-in-equality-check): Negated expression is not allowed in equality check.
   ╭─[no_negation_in_equality_check.tsx:3:7]
 2 │                         foo
 3 │                         !/* comment */[a, b].join('') === c
   ·                         ─────────────────────────────
 4 │                     
   ╰────
  help: Remove the negation operator and use '!==' instead of '==='.
