Files
loki/.github/dependabot.yml
106ca63a3b chore(deps): stop reopening the ESLint 10 bump that cannot be merged (#282)
#204 bumped ESLint to 10 and has been red since it opened. The failure is not
in this repo: ESLint 10 removed context.getFilename(), eslint-plugin-react
still calls it, and `npm run lint` dies on the first .tsx file with
"Error while loading rule 'react/display-name'".

There is nothing to upgrade to. 7.37.5 is the newest release of that plugin and
its peer range stops at ^9.7, while eslint-config-next pins ^7.37.0 — so the
whole Next lint chain is on ESLint 9 until upstream moves. eslint-config-next's
own peer range says ">=9.0.0", which is why this looks installable right up
until it runs.

Closing #204 alone would only buy a week: dependabot reopens the same
un-mergeable PR every Monday, and a permanently red PR is noise that trains
everyone to ignore red. So the reason is recorded where the bump is generated,
with the condition for lifting it and the one command that checks it.

Co-authored-by: t <t@t.t>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 16:05:50 +00:00

51 lines
1.8 KiB
YAML

# Boring dependency bumps, automated. Weekly, grouped so routine minor/patch
# updates arrive as ONE PR (majors stay separate for a human to eyeball).
# Covers the web app, the desktop (Fleet Runner) app, and the GitHub Actions.
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 5
labels: ["dependencies"]
groups:
minor-and-patch:
update-types: ["minor", "patch"]
ignore:
# ESLint 10 is blocked upstream, not by anything in this repo. ESLint 10
# removed `context.getFilename()`; eslint-plugin-react still calls it, so
# `npm run lint` dies on the first .tsx file with
# "Error while loading rule 'react/display-name'".
# 7.37.5 is the newest release of that plugin and its peer range stops at
# `^9.7`, so there is nothing to upgrade *to* — and eslint-config-next
# pins `^7.37.0`, which puts the whole Next lint chain on ESLint 9.
# (eslint-config-next's own peer says `>=9.0.0`, which is why this looks
# installable right up until it runs.)
#
# Without this, dependabot reopens the same un-mergeable red PR every
# Monday. LIFT IT when eslint-plugin-react publishes a release whose peer
# range admits ESLint 10 — check with:
# npm view eslint-plugin-react peerDependencies
- dependency-name: "eslint"
update-types: ["version-update:semver-major"]
- package-ecosystem: "npm"
directory: "/desktop"
schedule:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 3
labels: ["dependencies", "desktop"]
groups:
minor-and-patch:
update-types: ["minor", "patch"]
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
labels: ["ci"]