---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ const x = [ext()]
   ·            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ const x = [,,ext(),]
   ·              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ const [x = ext()] = []
   ·            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:13]
 1 │ const [,x = ext(),] = []
   ·             ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:7]
 1 │ (()=>{ext()})()
   ·       ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:8]
 1 │ (({a = ext()})=>{})()
   ·        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:2]
 1 │ (a=>{a()})(ext)
   ·  ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:6]
 1 │ ((...a)=>{a()})(ext)
   ·      ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:3]
 1 │ (({a})=>{a()})(ext)
   ·   ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:2]
 1 │ (a=>{a.x = 1})(ext)
   ·  ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:2]
 1 │ (a=>{const b = a;b.x = 1})(ext)
   ·  ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:6]
 1 │ ((...a)=>{a.x = 1})(ext)
   ·      ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:3]
 1 │ (({a})=>{a.x = 1})(ext)
   ·   ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of assignment to `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ ext = 1
   · ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of assignment to `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ ext += 1
   · ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ ext.x = 1
   · ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:16]
 1 │ const x = {};x[ext()] = 1
   ·                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating unknown this value
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ this.x = 1
   · ────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ const {x = ext()} = {}
   ·            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:16]
 1 │ const {y: {x = ext()} = {}} = {}
   ·                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:28]
 1 │ const x = async ()=>{await ext()}; x()
   ·                            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:15]
 1 │ const x = 1 + ext()
   ·               ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ const x = ext() + 1
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:2]
 1 │ {ext()}
   ·  ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:7]
 1 │ var x=ext;{x(); var x=()=>{}}
   ·       ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:10]
 1 │ (()=>{})(ext(), 1)
   ·          ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:13]
 1 │ (()=>{})(1, ext())
   ·             ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function return value
   ╭─[no_side_effects_in_initialization.tsx:1:30]
 1 │ const x = ()=>ext; const y = x(); y()
   ·                              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function return value
   ╭─[no_side_effects_in_initialization.tsx:1:30]
 1 │ const x = ()=>ext; const y = x(); y.z = 1
   ·                              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:23]
 1 │ try {} catch (error) {ext()}
   ·                       ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ class x {[ext()](){}}
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ class x {constructor(){ext()}}; new x()
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ class x {constructor(){ext()}}; const y = new x()
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:17]
 1 │ class x extends ext {}; const y =  new x()
   ·                 ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ class y {constructor(){ext()}}; class x extends y {}; const z =  new x()
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ class y {constructor(){ext()}}; class x extends y {constructor(){super()}}; const z = new x()
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling
   ╭─[no_side_effects_in_initialization.tsx:1:66]
 1 │ class y {constructor(){ext()}}; class x extends y {constructor(){super()}}; const z = new x()
   ·                                                                  ─────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling
   ╭─[no_side_effects_in_initialization.tsx:1:44]
 1 │ class y{}; class x extends y{constructor(){super()}}; const z = new x()
   ·                                            ─────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:17]
 1 │ class x extends ext() {}
   ·                 ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ class x {[ext()](){}}
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ class x {constructor(){ext()}}; new x()
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ class x {constructor(){ext()}}; const y = new x()
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:17]
 1 │ class x extends ext {}; const y = new x()
   ·                 ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:25]
 1 │ const x = class extends ext() {}
   ·                         ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:19]
 1 │ const x = class {[ext()](){}}
   ·                   ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:27]
 1 │ new (class {constructor(){ext()}})()
   ·                           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:37]
 1 │ const x = new (class {constructor(){ext()}})()
   ·                                     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:30]
 1 │ const x = new (class extends ext {})()
   ·                              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ class x {[ext()] = 1}
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function return value
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ class x {y = ext()}; new x()
   ·              ─────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ const x = ext() ? 1 : 2
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:17]
 1 │ const x = ext ? ext() : 2
   ·                 ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:21]
 1 │ const x = ext ? 1 : ext()
   ·                     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:27]
 1 │ if (false ? false : true) ext()
   ·                           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:27]
 1 │ const x = ()=>{}; (true ? ext : x)()
   ·                           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:32]
 1 │ const x = ()=>{}; (false ? x : ext)()
   ·                                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:30]
 1 │ const x = ()=>{}; (ext ? x : ext)()
   ·                              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Debugger statements are side-effects
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ debugger
   · ────────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:13]
 1 │ do {} while(ext())
   ·             ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:4]
 1 │ do ext(); while(true)
   ·    ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:5]
 1 │ do {ext()} while(true)
   ·     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:16]
 1 │ export default ext()
   ·                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:63]
 1 │ export default /* tree-shaking no-side-effects-when-called */ ext
   ·                                                               ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ const x = ext; export default /* tree-shaking no-side-effects-when-called */ x
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:18]
 1 │ export const x = ext()
   ·                  ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:65]
 1 │ export const /* tree-shaking no-side-effects-when-called */ x = ext
   ·                                                                 ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:68]
 1 │ export function /* tree-shaking no-side-effects-when-called */ x(){ext()}
   ·                                                                    ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ const x = ext; export {/* tree-shaking no-side-effects-when-called */ x}
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ ext()
   · ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of assignment to `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:5]
 1 │ for(ext in {a: 1}){}
   ·     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:16]
 1 │ for(const x in ext()){}
   ·                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ for(const x in {a: 1}){ext()}
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ for(const x in {a: 1}) ext()
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of assignment to `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:5]
 1 │ for(ext of {a: 1}){}
   ·     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:16]
 1 │ for(const x of ext()){}
   ·                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ for(const x of {a: 1}){ext()}
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ for(const x of {a: 1}) ext()
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:5]
 1 │ for(ext();;){}
   ·     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:6]
 1 │ for(;ext();){}
   ·      ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ for(;true;ext()){}
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:13]
 1 │ for(;true;) ext()
   ·             ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:13]
 1 │ for(;true;){ext()}
   ·             ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ function x(){ext()}; x()
   ·              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ function x(){ext()}; const y = new x()
   ·              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ function x(){ext()}; new x()
   ·              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:16]
 1 │ function x(a = ext()){}; x()
   ·                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ function x(a){a()}; x(ext)
   ·            ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:15]
 1 │ function x(...a){a()}; x(ext)
   ·               ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ function x({a}){a()}; x(ext)
   ·            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ function x(a){a(); a(); a()}; x(ext)
   ·            ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ function x(a){a.y = 1}; x(ext)
   ·            ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:15]
 1 │ function x(...a){a.y = 1}; x(ext)
   ·               ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ function x({a}){a.y = 1}; x(ext)
   ·            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ function x(a){a.y = 1; a.y = 2; a.y = 3}; x(ext)
   ·            ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of assignment to `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ function x(){ext = 1}; x(); x(); x()
   ·              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of assignment to `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ function x(){ext = 1}; const y = new x(); y = new x(); y = new x()
   ·              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ (function (){ext()}())
   ·              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:28]
 1 │ const x = new (function (){ext()})()
   ·                            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:18]
 1 │ new (function (){ext()})()
   ·                  ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:17]
 1 │ (function ({a = ext()}){}())
   ·                 ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ (function (a){a()}(ext))
   ·            ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:15]
 1 │ (function (...a){a()}(ext))
   ·               ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ (function ({a}){a()}(ext))
   ·            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ (function (a){a.x = 1}(ext))
   ·            ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ (function (a){const b = a;b.x = 1}(ext))
   ·            ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:15]
 1 │ (function (...a){a.x = 1}(ext))
   ·               ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating function parameter
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ (function ({a}){a.x = 1}(ext))
   ·            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ ext()
   · ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ const x = ext; x()
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:21]
 1 │ let x = ()=>{}; x = ext; x()
   ·                     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:16]
 1 │ const x = ()=>{ext()}; x()
   ·                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of assignment to `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:16]
 1 │ const x = ()=>{ext = 1}; x(); x(); x()
   ·                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function return value
   ╭─[no_side_effects_in_initialization.tsx:1:31]
 1 │ const x = ()=>{}; const {y} = x(); y()
   ·                               ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling function return value
   ╭─[no_side_effects_in_initialization.tsx:1:31]
 1 │ const x = ()=>{}; const [y] = x(); y()
   ·                               ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:9]
 1 │ var x = ext; x.y = 1
   ·         ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:5]
 1 │ if (ext()>0){}
   ·     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:10]
 1 │ if (1>0){ext()}
   ·          ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:18]
 1 │ if (1<0){} else {ext()}
   ·                  ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ if (ext>0){ext()} else {ext()}
   ·            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:25]
 1 │ if (ext>0){ext()} else {ext()}
   ·                         ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling imported function
   ╭─[no_side_effects_in_initialization.tsx:1:8]
 1 │ import x from "import-default"; x()
   ·        ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating imported variable
   ╭─[no_side_effects_in_initialization.tsx:1:8]
 1 │ import x from "import-default"; x.z = 1
   ·        ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling imported function
   ╭─[no_side_effects_in_initialization.tsx:1:9]
 1 │ import {x} from "import"; x()
   ·         ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating imported variable
   ╭─[no_side_effects_in_initialization.tsx:1:9]
 1 │ import {x} from "import"; x.z = 1
   ·         ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling imported function
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ import {x as y} from "import"; y()
   ·              ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating imported variable
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ import {x as y} from "import"; y.a = 1
   ·              ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling member function
   ╭─[no_side_effects_in_initialization.tsx:1:30]
 1 │ import * as y from "import"; y.x()
   ·                              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating imported variable
   ╭─[no_side_effects_in_initialization.tsx:1:13]
 1 │ import * as y from "import"; y.x = 1
   ·             ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:32]
 1 │ class X {}; const x = <X test={ext()}/>
   ·                                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:36]
 1 │ class X {}; class Y {constructor(){ext()}}; const x = <X test=<Y/>/>
   ·                                    ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ class X {constructor(){ext()}}; const x = <X/>
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:27]
 1 │ class X {}; const x = <X>{ext()}</X>
   ·                           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:27]
 1 │ class X {}; const x = <X>{ext()}</X>
   ·                           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ class X {constructor(){ext()}}; const x = <X/>
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:32]
 1 │ const X = class {constructor(){ext()}}; const x = <X/>
   ·                                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `Ext`
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ const x = <Ext/>
   ·            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `Y`
   ╭─[no_side_effects_in_initialization.tsx:1:34]
 1 │ const X = {Y: ext}; const x = <X.Y />
   ·                                  ─
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:32]
 1 │ class X {}; const x = <X test={ext()}/>
   ·                                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:34]
 1 │ class X {}; const x = <X {...{x: ext()}}/>
   ·                                  ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:19]
 1 │ loop: for(;true;){ext()}
   ·                   ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ if (true) ext()
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ ext() && true
   · ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:9]
 1 │ true && ext()
   ·         ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:10]
 1 │ false || ext()
   ·          ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:19]
 1 │ if (true && true) ext()
   ·                   ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:20]
 1 │ if (false || true) ext()
   ·                    ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:20]
 1 │ if (true || false) ext()
   ·                    ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:19]
 1 │ if (true || true) ext()
   ·                   ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:26]
 1 │ const x = {};const y = x[ext()]
   ·                          ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling member function
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ ext.x()
   · ─────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling member function
   ╭─[no_side_effects_in_initialization.tsx:1:15]
 1 │ const x = {}; x.y()
   ·               ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling member function
   ╭─[no_side_effects_in_initialization.tsx:1:19]
 1 │ const x = ()=>{}; x().y()
   ·                   ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling member function
   ╭─[no_side_effects_in_initialization.tsx:1:30]
 1 │ const Object = {}; const x = Object.keys({})
   ·                              ───────────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:17]
 1 │ const x = {}; x[ext()]()
   ·                 ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ const x = {}; x[ext()]()
   ·           ──
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating
   ╭─[no_side_effects_in_initialization.tsx:1:20]
 1 │ const x = {y: ext};x.y.z = 1
   ·                    ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating
   ╭─[no_side_effects_in_initialization.tsx:1:29]
 1 │ const x = {y:ext};const y = x.y; y.z = 1
   ·                             ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating
   ╭─[no_side_effects_in_initialization.tsx:1:27]
 1 │ const x = {y: ext};delete x.y.z
   ·                           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:18]
 1 │ class x {static [ext()](){}}
   ·                  ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:15]
 1 │ const x = new ext()
   ·               ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:5]
 1 │ new ext()
   ·     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:15]
 1 │ const x = {y: ext()}
   ·               ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:19]
 1 │ const x = {["y"]: ext()}
   ·                   ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:13]
 1 │ const x = {[ext()]: 1}
   ·             ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:9]
 1 │ const {[ext()]: x} = {}
   ·         ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ (()=>{return ext()})()
   ·              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ ext(), 1
   · ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:4]
 1 │ 1, ext()
   ·    ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ if (1, true) ext()
   ·              ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:13]
 1 │ if (1, ext) ext()
   ·             ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ class y {constructor(){ext()}}; class x extends y {constructor(){super()}}; const z = new x()
   ·                        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling
   ╭─[no_side_effects_in_initialization.tsx:1:66]
 1 │ class y {constructor(){ext()}}; class x extends y {constructor(){super()}}; const z = new x()
   ·                                                                  ─────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling
   ╭─[no_side_effects_in_initialization.tsx:1:44]
 1 │ class y{}; class x extends y{constructor(){super(); super.test()}}; const z = new x()
   ·                                            ─────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling member function
   ╭─[no_side_effects_in_initialization.tsx:1:53]
 1 │ class y{}; class x extends y{constructor(){super(); super.test()}}; const z = new x()
   ·                                                     ─────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling
   ╭─[no_side_effects_in_initialization.tsx:1:44]
 1 │ class y{}; class x extends y{constructor(){super()}}; const z = new x()
   ·                                            ─────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:18]
 1 │ switch(ext){case ext():}
   ·                  ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:20]
 1 │ switch(ext){case 1:ext()}
   ·                    ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:8]
 1 │ switch(ext()){}
   ·        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ const x = ext``
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ ext``
   · ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:33]
 1 │ const x = ()=>{}; const y = x`${ext()}`
   ·                                 ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:22]
 1 │ const x = `Literal ${ext()}`
   ·                      ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating unknown this value
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ this.x = 1
   · ────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating unknown this value
   ╭─[no_side_effects_in_initialization.tsx:1:7]
 1 │ (()=>{this.x = 1})()
   ·       ────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating unknown this value
   ╭─[no_side_effects_in_initialization.tsx:1:13]
 1 │ (function(){this.x = 1}())
   ·             ────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating unknown this value
   ╭─[no_side_effects_in_initialization.tsx:1:40]
 1 │ const y = new (function (){(function(){this.x = 1}())})()
   ·                                        ────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating unknown this value
   ╭─[no_side_effects_in_initialization.tsx:1:14]
 1 │ function x(){this.y = 1}; x()
   ·              ────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Throwing an error is a side-effect
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ throw new Error("Hello Error")
   · ──────────────────────────────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:6]
 1 │ try {ext()} catch (error) {}
   ·      ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:17]
 1 │ try {} finally {ext()}
   ·                 ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:2]
 1 │ !ext()
   ·  ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:8]
 1 │ delete ext.x
   ·        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of mutating `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:8]
 1 │ delete ext["x"]
   ·        ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of deleting anything but a MemberExpression
   ╭─[no_side_effects_in_initialization.tsx:1:25]
 1 │ const x = ()=>{};delete x()
   ·                         ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of assignment to `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ ext++
   · ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:16]
 1 │ const x = {};x[ext()]++
   ·                ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ const x = ext()
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:9]
 1 │ var x = ext(),y = ext()
   ·         ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:19]
 1 │ var x = ext(),y = ext()
   ·                   ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:11]
 1 │ const x = ext(),y = ext()
   ·           ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:21]
 1 │ const x = ext(),y = ext()
   ·                     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:9]
 1 │ let x = ext(),y = ext()
   ·         ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:19]
 1 │ let x = ext(),y = ext()
   ·                   ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ const {x = ext()} = {}
   ·            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:7]
 1 │ while(ext()){}
   ·       ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:12]
 1 │ while(true)ext()
   ·            ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:13]
 1 │ while(true){ext()}
   ·             ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:21]
 1 │ function* x(){yield ext()}; x()
   ·                     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling global function `ext`
   ╭─[no_side_effects_in_initialization.tsx:1:21]
 1 │ function* x(){yield ext()}; x()
   ·                     ───
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling member function
   ╭─[no_side_effects_in_initialization.tsx:6:13]
 5 │           } catch(e) {
 6 │             a.map(v => v + 1);
   ·             ─────
 7 │           }
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling member function
   ╭─[no_side_effects_in_initialization.tsx:1:1]
 1 │ Object.freeze({})
   · ─────────────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling imported function
   ╭─[no_side_effects_in_initialization.tsx:1:9]
 1 │ import {createContext, createRef} from 'react'; createContext(); createRef();
   ·         ─────────────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling imported function
   ╭─[no_side_effects_in_initialization.tsx:1:24]
 1 │ import {createContext, createRef} from 'react'; createContext(); createRef();
   ·                        ─────────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling member function
   ╭─[no_side_effects_in_initialization.tsx:1:25]
 1 │ import _ from 'lodash'; _.cloneDeep({});
   ·                         ───────────
   ╰────

  ⚠ eslint-plugin-tree-shaking(no-side-effects-in-initialization): Cannot determine side-effects of calling member function
   ╭─[no_side_effects_in_initialization.tsx:1:33]
 1 │ import * as React from 'react'; React.createRef();
   ·                                 ───────────────
   ╰────
