--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/module/object/trailing-comma/object_trailing_comma.js --- # Input ```js const b = { longlonglonglongField1, longlonglonglongField2, longlonglonglongField3, }; const { adsadasdasdasdasdasdasdasdasdasdas, dsadsadasdasdasdasdasdasdasd, dsadsadasdasdasdasdasdasdasd,} = o; ``` ============================= # Outputs ## Output 1 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always ----- ```js const b = { longlonglonglongField1, longlonglonglongField2, longlonglonglongField3, }; const { adsadasdasdasdasdasdasdasdasdasdas, dsadsadasdasdasdasdasdasdasd, dsadsadasdasdasdasdasdasdasd, } = o; ``` ## Output 2 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: ES5 Semicolons: Always ----- ```js const b = { longlonglonglongField1, longlonglonglongField2, longlonglonglongField3, }; const { adsadasdasdasdasdasdasdasdasdasdas, dsadsadasdasdasdasdasdasdasd, dsadsadasdasdasdasdasdasdasd, } = o; ``` ## Output 3 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: None Semicolons: Always ----- ```js const b = { longlonglonglongField1, longlonglonglongField2, longlonglonglongField3 }; const { adsadasdasdasdasdasdasdasdasdasdas, dsadsadasdasdasdasdasdasdasd, dsadsadasdasdasdasdasdasdasd } = o; ```