src/main/parser.js/requireParser
function requireParser(parser) {
  try {
    return {
      parse: require(path.resolve(process.cwd(), parser)),
      astFormat: "estree",
      locStart,
      locEnd,
    };
  } catch {
    /* istanbul ignore next */
    throw new ConfigError(`Couldn't resolve parser "${parser}"`);
  }
}