--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/arrays/numbers-with-tricky-comments.js --- # Input ```js const lazyCatererNumbers = [1, 2, 4, 7, 11, 16, 22, 29, 37, 46, 56, 67, 79, 92, 106, 121, 137, 154, 172, 191, 211, 232, 254, 277, 301, 326, 352, 379, 407, 436, 466, /*block*/ // line 497, 529, 562, 596, 631, 667, 704, 742, 781, 821, 862, 904, 947, 991, 1036, 1082, 1129, 1177, 1226, // line 2 1276, 1327, 1379]; ``` # Prettier differences ```diff --- Prettier +++ Rome @@ -2,8 +2,10 @@ 1, 2, 4, 7, 11, 16, 22, 29, 37, 46, 56, 67, 79, 92, 106, 121, 137, 154, 172, 191, 211, 232, 254, 277, 301, 326, 352, 379, 407, 436, 466 /*block*/, // line - 497, 529, 562, 596, 631, 667, 704, 742, 781, 821, 862, 904, 947, 991, 1036, - 1082, 1129, 1177, 1226, + 497, + 529, 562, 596, 631, 667, 704, 742, 781, 821, 862, 904, 947, 991, 1036, 1082, + 1129, 1177, 1226, // line 2 - 1276, 1327, 1379, + 1276, + 1327, 1379, ]; ``` # Output ```js const lazyCatererNumbers = [ 1, 2, 4, 7, 11, 16, 22, 29, 37, 46, 56, 67, 79, 92, 106, 121, 137, 154, 172, 191, 211, 232, 254, 277, 301, 326, 352, 379, 407, 436, 466 /*block*/, // line 497, 529, 562, 596, 631, 667, 704, 742, 781, 821, 862, 904, 947, 991, 1036, 1082, 1129, 1177, 1226, // line 2 1276, 1327, 1379, ]; ```