--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/module/function/function_comments.js --- # Input ```js function a() { // trailing comment let a = 2; /** leading comment **/ } function b() // leading comment { // trailing } function c( //some comment foo, bar, ) {} ``` ============================= # Outputs ## Output 1 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always ----- ```js function a() { // trailing comment let a = 2; /** leading comment **/ } function b() { // leading comment // trailing } function c( //some comment foo, bar, ) {} ```