Allow plugin override builtin parsers when inferring parser (#17549)

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-06-05 17:23:49 +08:00
1 parent d49444352a
commit 7fb9875413
16 files changed
+197 -42

No files matched your search

-7
View File
@@ -62,13 +62,6 @@ const plugins = [
createPlugin(plugin),
),
docExplorerPlugin,
prettierPackageManifest.builtinPlugins.some((plugin) =>
plugin.parsers?.includes("hermes"),
)
? {
languages: [{ name: "hermes", parsers: ["hermes"] }],
}
: {},
];
self.onmessage = async function (event) {