async function isIgnored(file, options) {
  const { ignorePath: ignoreFiles, withNodeModules } = options;
  const isIgnored = await createIsIgnoredFunction(ignoreFiles, withNodeModules);
  return isIgnored(file);
}
@param {string | URL} file
@param {{ignorePath: string[], withNodeModules?: boolean}} options
@returns {Promise<boolean>}