Skip to content

Commit f9d8ec0

Browse files
style(Rest): standardize test file formatting
Apply consistent code formatting across Rest test files including: - Struct field type formatting (remove trailing colons) - Inline comment repositioning - Assertion formatting standardization - Minor punctuation fix in README.md (em dash to hyphen) Affected files: - tests/integration/vscode_compatibility.rs - tests/unit/codegen_tests.rs - tests/unit/oxc_compiler.rs - tests/unit/parser_tests.rs - tests/unit/transformer_tests.rs - README.md These formatting changes align the test code with the project's style conventions.
1 parent 9455e8e commit f9d8ec0

File tree

6 files changed

+1806
-1679
lines changed

6 files changed

+1806
-1679
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The `Rest` compiler was chosen over the existing esbuild pipeline for three
7777
reasons that directly affect the VSCode build:
7878

7979
1. **OXC is used by VSCode internally.** This means Rest produces output that
80-
matches VSCode's own build pipeline not an approximation.
80+
matches VSCode's own build pipeline - not an approximation.
8181
2. **`emitDecoratorMetadata` support.** VSCode's codebase relies on decorator
8282
metadata emission. OXC handles this correctly; esbuild has limited support.
8383
3. **`useDefineForClassFields = false`.** VSCode requires the legacy class

0 commit comments

Comments
 (0)