--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/module/suppression.js --- # Input ```js // rome-ignore format: the following if should print inline if(true) statement(); /** rome-ignore format: the following if should print inline */ if (true) statement(); /** * rome-ignore format: the following if should print inline */ if (true) statement(); const expr = // rome-ignore format: the array should not be formatted [ (2*n)/(r-l), 0, (r+l)/(r-l), 0, 0, (2*n)/(t-b), (t+b)/(t-b), 0, 0, 0, -(f+n)/(f-n), -(2*f*n)/(f-n), 0, 0, -1, 0, ]; const expr2 = { key: // rome-ignore format: only skip formatting the value 'single quoted string' } let a = // rome-ignore format: test function () {} ``` ============================= # Outputs ## Output 1 ----- Indent style: Tab Line width: 80 Quote style: Double Quotes Quote properties: As needed Trailing comma: All Semicolons: Always ----- ```js // rome-ignore format: the following if should print inline if(true) statement(); /** rome-ignore format: the following if should print inline */ if (true) statement(); /** * rome-ignore format: the following if should print inline */ if (true) statement(); const expr = // rome-ignore format: the array should not be formatted [ (2*n)/(r-l), 0, (r+l)/(r-l), 0, 0, (2*n)/(t-b), (t+b)/(t-b), 0, 0, 0, -(f+n)/(f-n), -(2*f*n)/(f-n), 0, 0, -1, 0, ]; const expr2 = { key: // rome-ignore format: only skip formatting the value 'single quoted string', }; let a = // rome-ignore format: test function () {}; ```