Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
476 B
JavaScript
Raw Permalink Normal View History

2025-10-16 07:42:24 +08:00
const name = "get-parse-options";
export { name as __plugin_internal_name };
export const languages = [
{
name,
parsers: [name],
extensions: [`.${name}`],
},
];
export const parsers = {
[name]: {
astFormat: name,
parse: (_, options) => options,
},
};
// Adding this since `prettier.__debug.parse` requires the printer exists
export const printers = {
[name]: {
print() {
throw new Error("This should not be called");
},
},
};