mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
1.1 KiB
1.1 KiB
Input
Command
oxfmt test.js test.ts
File tree
- fixtures/
- basic/
- .editorconfig
- test.js
- empty/
- .editorconfig
- test.js
- nested_cwd/
- .editorconfig
- sub/
- test.ts
- no_root_section/
- .editorconfig
- test.js
- test.ts
- partial_override/
- .editorconfig
- .oxfmtrc.json
- test.js
- per_file_override/
- .editorconfig
- nested/
- deep/
- test.js
- test.json
- test.js
- test.ts
- quote_type/
- .editorconfig
- test.js
- tab_width_fallback/
- .editorconfig
- test.js
- unset_in_root/ <CWD>
- .editorconfig
- test.js
- test.ts
- with_oxfmtrc/
- .editorconfig
- .oxfmtrc.json
- test.js
Result
Exit code
0
stdout
Finished in <time> on 2 files using 1 threads.
stderr
File changes
unset_in_root/test.js
@@ -1,1 +1,3 @@
-if (true) { console.log("js"); }
+if (true) {
+ console.log("js");
+}
unset_in_root/test.ts
@@ -1,1 +1,3 @@
-if (true) { console.log("ts"); }
+if (true) {
+ console.log("ts");
+}