Skip to content
Skills Library
Programming · Automation

update-linter-version

/update-linter-version

Update a linter's pinned version in its descriptor YAML. Use when upgrading a linter tool to a new release.

Repository
megalinter ↗
Licence
AGPL-3.0
Last repository change
27.10.2026

Assessment and security

92/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content27 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

What it does and when to use it

Update a linter's pinned version in its descriptor YAML. Use when upgrading a linter tool to a new release.

Arguments

/update-linter-version [linter-name] [new-version]
Original author description

Update a linter's pinned version in its descriptor YAML. Use when upgrading a linter tool to a new release.

How it works

SKILL.md has no level-two headings · 19 lines, 162 words

SKILL.md preview
---
name: update-linter-version
description: Update a linter's pinned version in its descriptor YAML. Use when upgrading a linter tool to a new release.
allowed-tools: Read Grep Glob Edit Bash
argument-hint: "[linter-name] [new-version]"
arguments: [linter, version]
model: haiku
metadata:
  internal: true
---

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 to `build-runner` (haiku).

Steps:

1. Search `megalinter/descriptors/*.megalinter-descriptor.yml` **and** `megalinter/descriptors/shared/*.megalinter-linter.yml` for the linter by name (multi-descriptor linters like eslint, prettier or biome keep their `install` block in the shared file)
2. Find the version ARG in the `install.dockerfile` section (e.g., `ARG PIP_TOOL_VERSION=X.Y.Z`) or version pin in pip/npm arrays
3. Update the version, preserving the renovate comment format:
   ```yaml
   # renovate: datasource=pypi depName=tool-name
   ARG PIP_TOOL_VERSION=<new_version>
   ```
4. If no version was specified, check the tool's package registry for the latest
5. Run `make megalinter-build` to regenerate Dockerfiles with the new version
6. Do **not** update `CHANGELOG.md` — linter version upgrades are logged automatically by the auto-upgrade workflow under **Linter versions upgrades**
7. To test the updated version in CI, write `TEST_KEYWORDS=<linter>_test` in the commit message body

Versions

The database has no other skills named update-linter-version.

Database snapshot: 13.11.2026 · package version d541e29dcae7 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100add-linter
    Guided workflow for adding a new linter to MegaLinter. Use when a contributor needs to add support for a new linting tool.
  • 92fix-linter-test
    Debug and fix a failing MegaLinter linter test. Use when a linter test fails in CI or locally.
  • 100update-v8-version
    Update Codex's pinned `v8` / `rusty_v8` versions, validate the release-candidate path, and investigate failed V8 canary or artifact builds. Use when asked to bump V8, update `rusty_v8` artifacts, prepare or validate a V8 release candidate, check `v8-canary`, or diagnose why a V8…
  • 91api-linter
    MCP definition linter rules reference. Use when `bun run lint:mcp` or `bun run devcheck` reports a lint error or warning (`format-parity`, `schema-is-object`, `name-format`, `server-json-*`, etc.) and you need to understand the rule, its severity, and how to fix it. Every rule…
  • 91api-linter
    MCP definition linter rules reference. Use when `bun run lint:mcp` or `bun run devcheck` reports a lint error or warning (`format-parity`, `schema-is-object`, `name-format`, `server-json-*`, etc.) and you need to understand the rule, its severity, and how to fix it. Every rule…
  • 91api-linter
    MCP definition linter rules reference. Use when `bun run lint:mcp` or `bun run devcheck` reports a lint error or warning (`format-parity`, `schema-is-object`, `name-format`, `server-json-*`, etc.) and you need to understand the rule, its severity, and how to fix it. Every rule…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.