Update the version of linter $linter to $version.
Delegation hint — this is a mechanical edit. If you need a sub-agent for the pin change, use
version-bumper(haiku). The build step at the end can be delegated tobuild-runner(haiku).
Steps:
- Search
megalinter/descriptors/*.megalinter-descriptor.ymlandmegalinter/descriptors/shared/*.megalinter-linter.ymlfor the linter by name (multi-descriptor linters like eslint, prettier or biome keep theirinstallblock in the shared file) - Find the version ARG in the
install.dockerfilesection (e.g.,ARG PIP_TOOL_VERSION=X.Y.Z) or version pin in pip/npm arrays - Update the version, preserving the renovate comment format:
# renovate: datasource=pypi depName=tool-name ARG PIP_TOOL_VERSION=<new_version> - If no version was specified, check the tool's package registry for the latest
- Run
make megalinter-buildto regenerate Dockerfiles with the new version - Do not update
CHANGELOG.md— linter version upgrades are logged automatically by the auto-upgrade workflow under Linter versions upgrades - To test the updated version in CI, write
TEST_KEYWORDS=<linter>_testin the commit message body