--- source: crates/biome_formatter_test/src/snapshot_builder.rs info: css/yaml/ignore.css --- # Input ```css --- hello: world --- /* prettier-ignore */ .foo {} ``` # Prettier differences ```diff --- Prettier +++ Biome @@ -1,6 +1,8 @@ --- hello: world ---- +-- +- /* prettier-ignore */ -.foo {} +.foo { +} ``` # Output ```css --- hello: world -- - /* prettier-ignore */ .foo { } ``` # Errors ``` ignore.css:1:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × Expected a qualified rule, or an at rule but instead found '---'. > 1 │ --- │ ^^^ 2 │ hello: world 3 │ --- i Expected a qualified rule, or an at rule here. > 1 │ --- │ ^^^ 2 │ hello: world 3 │ --- ignore.css:3:1 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected `,` but instead found `-` 1 │ --- 2 │ hello: world > 3 │ --- │ ^ 4 │ 5 │ /* biome-ignore format: prettier ignore */ i Remove - ignore.css:3:3 parse ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ × expected `,` but instead found `-` 1 │ --- 2 │ hello: world > 3 │ --- │ ^ 4 │ 5 │ /* biome-ignore format: prettier ignore */ i Remove - ```