---
source: crates/oxc_linter/src/tester.rs
expression: empty_brace_spaces
---
  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ { }
   · ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ function foo(){ }
   ·               ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ if(foo) { }
   ·         ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ if(foo) {} else if (bar) { }
   ·                          ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ if(foo) {} else { }
   ·                 ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ for(;;){ }
   ·        ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ for(foo in bar){ }
   ·                ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ for(foo of bar){ }
   ·                ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ switch (foo) {case bar: { }}
   ·                         ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ switch (foo) {default: { }}
   ·                        ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ try { } catch(foo){}
   ·     ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ try {} catch(foo){ }
   ·                  ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ try {} catch(foo){} finally { }
   ·                             ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ do { } while (foo)
   ·    ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ while (foo){ }
   ·            ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = () => { }
   ·             ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = function (){ }
   ·                  ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ function foo(){ }
   ·               ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = { }
   ·       ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ class Foo {bar() { }}
   ·                  ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = class {bar() { }}
   ·                    ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ class Foo {static  { }}
   ·            ───────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ class Foo { }
   ·           ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = class { }
   ·             ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ {   }
   · ─────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ function foo(){ }
   ·               ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ if(foo) {   }
   ·         ─────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ if(foo) {} else if (bar) {  }
   ·                          ────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ if(foo) {} else {   }
   ·                 ─────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ for(;;){    }
   ·        ──────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ for(foo in bar){    }
   ·                ──────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ for(foo of bar){    }
   ·                ──────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ switch (foo) {case bar: {   }}
   ·                         ─────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ switch (foo) {default: {    }}
   ·                        ──────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ try {   } catch(foo){}
   ·     ─────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ try {} catch(foo){  }
   ·                  ────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ try {} catch(foo){} finally {   }
   ·                             ─────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ do {    } while (foo)
   ·    ──────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ while (foo){    }
   ·            ──────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = () => {   }
   ·             ─────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = () => {   }
   ·             ─────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = function (){  }
   ·                  ────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ function foo(){ }
   ·               ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = { }
   ·       ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ class Foo {bar() {  }}
   ·                  ────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = class {bar() {    }}
   ·                    ──────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ class Foo {static  {    }}
   ·            ──────────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ class Foo { }
   ·           ───
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = class {   }
   ·             ─────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ {        }
   · ──────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ function foo(){          }
   ·               ────────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ if(foo) {        }
   ·         ──────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ if(foo) {} else if (bar) {       }
   ·                          ─────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ if(foo) {} else {        }
   ·                 ──────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ for(;;){         }
   ·        ───────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ for(foo in bar){         }
   ·                ───────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ for(foo of bar){         }
   ·                ───────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ switch (foo) {case bar: {        }}
   ·                         ──────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ switch (foo) {default: {         }}
   ·                        ───────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ try {        } catch(foo){}
   ·     ──────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ try {} catch(foo){       }
   ·                  ─────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ try {} catch(foo){} finally {        }
   ·                             ──────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ do {         } while (foo)
   ·    ───────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ while (foo){         }
   ·            ───────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = () => {        }
   ·             ──────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = function (){       }
   ·                  ─────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ function foo(){          }
   ·               ────────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = {          }
   ·       ────────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ class Foo {bar() {       }}
   ·                  ─────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = class {bar() {         }}
   ·                    ───────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ class Foo {static  {         }}
   ·            ───────────────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ class Foo {          }
   ·           ────────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ foo = class {        }
   ·             ──────────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ {
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ function foo(){
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ if(foo) {
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ if(foo) {} else if (bar) {
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ if(foo) {} else {
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ for(;;){
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ for(foo in bar){
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ for(foo of bar){
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ switch (foo) {case bar: {
 2 │ │   
 3 │ ╰─▶ }}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ switch (foo) {default: {
 2 │ │   
 3 │ ╰─▶ }}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ try {
 2 │ │   
 3 │ ╰─▶ } catch(foo){}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ try {} catch(foo){
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ try {} catch(foo){} finally {
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ do {
 2 │ │   
 3 │ ╰─▶ } while (foo)
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ while (foo){
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ foo = () => {
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ foo = function (){
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ function foo(){
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ foo = {
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ class Foo {bar() {
 2 │ │   
 3 │ ╰─▶ }}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ foo = class {bar() {
 2 │ │   
 3 │ ╰─▶ }}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ class Foo {static  {
 2 │ │   
 3 │ ╰─▶ }}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ class Foo {
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ foo = class {
 2 │ │   
 3 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ {
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ function foo(){
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ if(foo) {
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ if(foo) {} else if (bar) {
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ if(foo) {} else {
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ for(;;){
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ for(foo in bar){
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ for(foo of bar){
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ switch (foo) {case bar: {
 2 │ ╰─▶ }}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ switch (foo) {default: {
 2 │ ╰─▶ }}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ try {
 2 │ ╰─▶ } catch(foo){}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ try {} catch(foo){
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ try {} catch(foo){} finally {
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ do {
 2 │ ╰─▶ } while (foo)
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ while (foo){
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ foo = () => {
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ foo = function (){
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ function foo(){
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ foo = {
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ class Foo {bar() {
 2 │ ╰─▶ }}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ foo = class {bar() {
 2 │ ╰─▶ }}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ class Foo {static  {
 2 │ ╰─▶ }}
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ class Foo {
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ ╭─▶ foo = class {
 2 │ ╰─▶ }
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.

  ⚠ eslint-plugin-unicorn(empty-brace-spaces): No spaces inside empty pair of braces allowed
   ╭─[empty_brace_spaces.tsx:1:1]
 1 │ with (foo) {     }
   ·            ───────
   ╰────
  help: There should be no spaces or new lines inside a pair of empty braces as it affects the overall readability of the code.


