--- source: crates/biome_formatter_test/src/snapshot_builder.rs info: js/module/statement/empty_blocks.js --- # Input ```js // Line break before closing `}` if (true) {} if (true) {} else {} for (x in []) {} for (x of []) {} switch ("test") {} switch ("test") { case "test": {} } test: {} try { } catch { } finally { } // No Line breaks class Test {} function test() {} for (;;) {} while (true) {} do {} while (true); ``` ============================= # Outputs ## Output 1 ----- Indent style: Tab Indent width: 2 Line ending: LF Line width: 80 Quote style: Double Quotes JSX quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always Arrow parentheses: Always Bracket spacing: true Bracket same line: false Attribute Position: Auto ----- ```js // Line break before closing `}` if (true) { } if (true) { } else { } for (x in []) { } for (x of []) { } switch ("test") { } switch ("test") { case "test": { } } test: { } try { } catch { } finally { } // No Line breaks class Test {} function test() {} for (;;) {} while (true) {} do {} while (true); ```