Skip to content

build(deps): @eslint/* の major も ignore に含める - #1010

Merged
hal-shu-sato merged 1 commit into
sourcefrom
build/ignore-eslint-scope
Aug 29, 2026
Merged

build(deps): @eslint/* の major も ignore に含める#1010
hal-shu-sato merged 1 commit into
sourcefrom
build/ignore-eslint-scope

Conversation

@hal-shu-sato

Copy link
Copy Markdown
Member

何を

.github/dependabot.ymlignore@eslint/* を追加します。

       - dependency-name: 'eslint'
         update-types: ['version-update:semver-major']
+      # @eslint/js ships in lockstep with eslint, so ignoring only the latter
+      # lets a major land on one half of the pair while the other stays behind.
+      - dependency-name: '@eslint/*'
+        update-types: ['version-update:semver-major']

なぜ

#999eslint の major を除外しましたが、@eslint/js を入れ忘れていました。両者は同じバージョンで同時にリリースされます。

dependabot は数時間でこの穴を突いてきました。#1004 がそれです。

-    "@eslint/js": "^9.39.5",
+    "@eslint/js": "^10.0.1",

eslint^9.39.5 のまま残るので、同じリリースの片割れだけが major をまたぐ状態になります。

@eslint/* に広げれば対になって動くので、eslint 9 → 10 は単独の PR として意図的に上げられます。

この後

#1004 は不要になります。dependabot は ignore 条件に該当するようになった PR を次回実行時に閉じますが、閉じなければ手で閉じてください。

同じ穴が apm-schema と apm-web にもあるので、それぞれ別 PR を出しています。apm 本体は @eslint/js を依存に持っていないため該当しません。

#999 excluded major updates for eslint but not for @eslint/js, which ships
at the same versions. Dependabot acted on the gap within hours: #1004
raises @eslint/js from 9.39.5 to 10.0.1 on its own and leaves eslint at
9.39.5, pairing the two halves of one release across a major boundary.

Widening the entry to @eslint/* keeps the pair moving together, so the
eslint 9 -> 10 step is taken deliberately as a single change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@hal-shu-sato
hal-shu-sato merged commit 7d3af69 into source Aug 29, 2026
3 checks passed
@hal-shu-sato
hal-shu-sato deleted the build/ignore-eslint-scope branch August 29, 2026 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant