function isDependencyIgnoredInGroups (groups, packageFilePath, dependencyName) {
  const groupName = getGroupForPackageFile(groups, packageFilePath)
  return groupName && _.includes(groups[groupName].ignore, dependencyName)
}