Enable @prettier/plugin-oxc in playground (#18315)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
fisker Cheungandautofix-ci[bot] authored and GitHub committed 2025-11-25 02:13:03 +08:00
1 parent 367ac7b7e5
commit ca5c11e95d
18 files changed
+174 -20

No files matched your search

+2
View File
@@ -4,6 +4,7 @@ export default function getCodeSamples(parser) {
case "acorn":
case "espree":
case "meriyah":
case "oxc":
return [
'function HelloWorld({greeting = "hello", greeted = \'"World"\', silent = false, onMouseOver,}) {',
"",
@@ -42,6 +43,7 @@ export default function getCodeSamples(parser) {
].join("\n");
case "typescript":
case "babel-ts":
case "oxc-ts":
return [
"interface MyInterface {",
" foo(): string,",