class

Krikri::Lint::PackageLatestRule

Inherits Krikri::Lint::Rule < Reference < Object

Upstream parity: ansible-lint's package-latest rule (severity VERY_LOW, tags idempotency). Package managers with state: latest and no version/update_only/only_upgrade/download_only.

Constants

PACKAGE_MANAGERS = ["apk", "apt", "bower", "bundler", "dnf", "easy_install", "gem", "homebrew", "jenkins_plugin", "npm", "openbsd_package", "openbsd_pkg", "package", "pacman", "pear", "pip", "pkg5", "pkgutil", "portage", "slackpkg", "sorcery", "swdepot", "win_chocolatey", "yarn", "yum", "zypper"] of ::String

Instance methods

applies_to
Source
check(file : PositionedFile, violations : Array(Violation)) : Nil
Source
severity
Source
tags
Source
task_scoped?

Task-oriented: violations belong to an enclosing task, so a # noqa: anywhere in that task's body suppresses them.

Source