--- source: crates/biome_formatter_test/src/snapshot_builder.rs info: js/module/object/bracket-spacing/object_bracket_spacing.js --- # Input ```js let a = { ...spread, foo() { }, *foo() { }, ...spread, } const x = { apple: "banna"}; const y = { apple: "banana", }; ({a, b, c} = {a: 'apple', b: 'banana', c: 'coconut'}); ({ a, b, c } = {a: 'apple', b: 'banana', c: 'coconut' }); ``` ============================= # 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 let a = { ...spread, foo() {}, *foo() {}, ...spread, }; const x = { apple: "banna" }; const y = { apple: "banana", }; ({ a, b, c } = { a: "apple", b: "banana", c: "coconut" }); ({ a, b, c } = { a: "apple", b: "banana", c: "coconut" }); ``` ## Output 2 ----- 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: false Bracket same line: false Attribute Position: Auto ----- ```js let a = { ...spread, foo() {}, *foo() {}, ...spread, }; const x = {apple: "banna"}; const y = { apple: "banana", }; ({a, b, c} = {a: "apple", b: "banana", c: "coconut"}); ({a, b, c} = {a: "apple", b: "banana", c: "coconut"}); ```