--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: ts/object/object_trailing_comma.ts --- # Input ```ts // object method const obj = { one< longlonglonglonglonglonglongT1, longlonglonglonglonglonglongT2, longlonglonglonglonglonglongT3 >( adsadasdasdasdasdasdasdasdasdasdas1, dsadsadasdasdasdasdasdasdasd2, dsadsadasdasdasdasdasdasdasd ) {}, two< longlonglonglonglonglonglongT1, longlonglonglonglonglonglongT2, longlonglonglonglonglonglongT3 >( adsadasdasdasdasdasdasdasdasdasdas1, dsadsadasdasdasdasdasdasdasd2, dsadsadasdasdasdasdasdasdasd ) {}, }; ``` ============================= # Outputs ## Output 1 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always ----- ```ts // object method const obj = { one< longlonglonglonglonglonglongT1, longlonglonglonglonglonglongT2, longlonglonglonglonglonglongT3, >( adsadasdasdasdasdasdasdasdasdasdas1, dsadsadasdasdasdasdasdasdasd2, dsadsadasdasdasdasdasdasdasd, ) {}, two< longlonglonglonglonglonglongT1, longlonglonglonglonglonglongT2, longlonglonglonglonglonglongT3, >( adsadasdasdasdasdasdasdasdasdasdas1, dsadsadasdasdasdasdasdasdasd2, dsadsadasdasdasdasdasdasdasd, ) {}, }; ``` ## Output 2 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: ES5 Semicolons: Always ----- ```ts // object method const obj = { one< longlonglonglonglonglonglongT1, longlonglonglonglonglonglongT2, longlonglonglonglonglonglongT3 >( adsadasdasdasdasdasdasdasdasdasdas1, dsadsadasdasdasdasdasdasdasd2, dsadsadasdasdasdasdasdasdasd ) {}, two< longlonglonglonglonglonglongT1, longlonglonglonglonglonglongT2, longlonglonglonglonglonglongT3 >( adsadasdasdasdasdasdasdasdasdasdas1, dsadsadasdasdasdasdasdasdasd2, dsadsadasdasdasdasdasdasdasd ) {}, }; ``` ## Output 3 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: None Semicolons: Always ----- ```ts // object method const obj = { one< longlonglonglonglonglonglongT1, longlonglonglonglonglonglongT2, longlonglonglonglonglonglongT3 >( adsadasdasdasdasdasdasdasdasdasdas1, dsadsadasdasdasdasdasdasdasd2, dsadsadasdasdasdasdasdasdasd ) {}, two< longlonglonglonglonglonglongT1, longlonglonglonglonglonglongT2, longlonglonglonglonglonglongT3 >( adsadasdasdasdasdasdasdasdasdasdas1, dsadsadasdasdasdasdasdasdasd2, dsadsadasdasdasdasdasdasdasd ) {} }; ```