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:
1 parent
367ac7b7e5
commit
ca5c11e95d
18 files changed
+174
-20
No files matched your search
@@ -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,",
|
||||
|
||||
Reference in new issue
Block a user