---
source: crates/oxc_linter/src/tester.rs
expression: no_mixed_operators
---
  ⚠ eslint(no-mixed-operators): Unexpected mix of && with ||
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a && b || c
   ·   ──   ──
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of && with ||
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a && b > 0 || c
   ·   ──       ──
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of > with &&
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a && b > 0 || c
   ·   ──   ─
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of && with ||
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a && b > 0 || c
   ·   ──       ──
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of && with ||
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a && b + c - d / e || f
   ·   ──               ──
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of / with -
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a && b + c - d / e || f
   ·            ─   ─
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of && with ||
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a && b + c - d / e || f
   ·   ──               ──
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of / with -
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a && b + c - d / e || f
   ·            ─   ─
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of + with -
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a + b - c
   ·   ─   ─
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of * with /
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a * b / c
   ·   ─   ─
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of || with ?:
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a || b ? c : d
   ·   ──   ─────
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of && with ?:
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a && b ? 1 : 2
   ·   ──   ─────
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of && with ?:
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ x ? a && b : 0
   ·   ───────────
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of && with ?:
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ x ? 0 : a && b
   ·   ─────   ──
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of + with ??
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a + b ?? c
   ·   ─   ──
   ╰────
  help: Use parentheses to clarify the intended order of operations.

  ⚠ eslint(no-mixed-operators): Unexpected mix of in with ??
   ╭─[no_mixed_operators.tsx:1:1]
 1 │ a in b ?? c
   ·   ──   ──
   ╰────
  help: Use parentheses to clarify the intended order of operations.


