'use strict'; // https://prettier.io/docs/en/plugins.html#languages const languages = [ { name: "ignored", parsers: ["ignored-parser"] } ]; // https://prettier.io/docs/en/plugins.html#parsers const parsers = { ignored: { parse: source => source, astFormat: "ignored-ast", locStart: _ => 0, locEnd: node => node.length } }; // https://prettier.io/docs/en/plugins.html#printers const printers = { "ignored-ast": { print: path => path.getNode() ?? "" } }; exports.languages = languages; exports.parsers = parsers; exports.printers = printers;