---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint(no-global-assign): Read-only global 'String' should not be modified.
   ╭─[no_global_assign.tsx:1:1]
 1 │ String = 'hello world';
   · ───┬──
   ·    ╰── Read-only global 'String' should not be modified.
   ╰────

  ⚠ eslint(no-global-assign): Read-only global 'String' should not be modified.
   ╭─[no_global_assign.tsx:1:1]
 1 │ String++;
   · ───┬──
   ·    ╰── Read-only global 'String' should not be modified.
   ╰────

  ⚠ eslint(no-global-assign): Read-only global 'String' should not be modified.
   ╭─[no_global_assign.tsx:1:15]
 1 │ ({Object = 0, String = 0} = {});
   ·               ───┬──
   ·                  ╰── Read-only global 'String' should not be modified.
   ╰────

  ⚠ eslint(no-global-assign): Read-only global 'Object' should not be modified.
   ╭─[no_global_assign.tsx:1:3]
 1 │ ({Object = 0, String = 0} = {});
   ·   ───┬──
   ·      ╰── Read-only global 'Object' should not be modified.
   ╰────

  ⚠ eslint(no-global-assign): Read-only global 'Object' should not be modified.
   ╭─[no_global_assign.tsx:1:16]
 1 │ function f() { Object = 1; }
   ·                ───┬──
   ·                   ╰── Read-only global 'Object' should not be modified.
   ╰────

  ⚠ eslint(no-global-assign): Read-only global 'Array' should not be modified.
   ╭─[no_global_assign.tsx:1:1]
 1 │ Array = 1;
   · ──┬──
   ·   ╰── Read-only global 'Array' should not be modified.
   ╰────
