Disable experimentalRawTransfer for oxc parser (#17663)
This commit is contained in:
1 parent
e9045d0fcc
commit
4292cbf2ef
2 files changed
+1
-2
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@prettier/plugin-oxc",
|
"name": "@prettier/plugin-oxc",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"description": "Prettier Oxc plugin.",
|
"description": "Prettier Oxc plugin.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ async function parseWithOptions(filepath, text, options) {
|
|||||||
const result = await oxcParser.parseAsync(filepath, text, {
|
const result = await oxcParser.parseAsync(filepath, text, {
|
||||||
preserveParens: true,
|
preserveParens: true,
|
||||||
showSemanticErrors: false,
|
showSemanticErrors: false,
|
||||||
experimentalRawTransfer: oxcParser.rawTransferSupported(),
|
|
||||||
...options,
|
...options,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user