src/language-js/pragma.js/hasPragma
function hasPragma(text) {
  const shebang = getShebang(text);
  if (shebang) {
    text = text.slice(shebang.length + 1);
  }
  const pragmas = Object.keys(docblock.parse(docblock.extract(text)));
  return pragmas.includes("prettier") || pragmas.includes("format");
}