function hasOptedOutOfRcDetection(argv = process.argv, env = process.env) {
  if (env.LHCI_NO_LIGHTHOUSERC) return true;
  if (argv.some(arg => /no-?lighthouserc/i.test(arg))) return true;
  return false;
}
@param {string[]} [argv]
@param {Record<string, string|undefined>} [env]
@return {boolean}