--- source: crates/biome_formatter_test/src/snapshot_builder.rs info: js/no-semi-babylon-extensions/no-semi.js --- # Input ```js a ;::b.c class A { a = b; in c a = b; instanceof(){} } ``` # Prettier differences ```diff --- Prettier +++ Biome @@ -1,5 +1,5 @@ a; -::b.c; +::b.c class A { a = b; ``` # Output ```js a; ::b.c class A { a = b; in; c; a = b; instanceof() {} } ``` # Errors ``` no-semi.js:2:2 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected a statement but instead found '::b.c'. 1 │ a > 2 │ ;::b.c │ ^^^^^ 3 │ 4 │ class A { i Expected a statement here. 1 │ a > 2 │ ;::b.c │ ^^^^^ 3 │ 4 │ class A { ```