Skip to content

build(deps): @eslint/* と eslint-config-next の major も ignore に含める - #814

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

build(deps): @eslint/* と eslint-config-next の major も ignore に含める#814
hal-shu-sato merged 1 commit into
mainfrom
build/ignore-eslint-scope

Conversation

@hal-shu-sato

Copy link
Copy Markdown
Member

何を

.github/dependabot.ymlignore に 2 つ追加します。

  • @eslint/*(@eslint/js@eslint/eslintrc)
  • eslint-config-next

なぜ

#808eslintnext の major を除外しましたが、同時にリリースされる相方を入れ忘れていました

@eslint/*

@eslint/js@eslint/eslintrceslint と同じバージョンで出ます。apm-data で同じ設定を入れた数時間後、dependabot が実際にこの穴を突いてきました(team-apm/apm-data#1004)。

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

eslint は 9 のまま残ります。

eslint-config-next

こちらはもう少し厄介です。eslint-config-nextnext の major に追随し、しかも dependabot の next グループに同居しています。ignore が無いと、グループ PR が next 15 のプロジェクトに next 16 用の設定を持ち込めてしまいます。

このリポジトリは sharppostcss の alert が next 16 待ちで、まだ next 15 に留まる必要があるため、この組み合わせは避けたいところです。

関連

apm-data は team-apm/apm-data#1010、apm-schema は team-apm/apm-schema#356 です。

#808 excluded major updates for eslint and next but not for the packages
released alongside them.

@eslint/js and @eslint/eslintrc ship at the same versions as eslint.
team-apm/apm-data showed what the gap costs within hours of the equivalent
change landing there: team-apm/apm-data#1004 raises @eslint/js to 10.0.1
on its own and leaves eslint at 9.39.5.

eslint-config-next tracks next's major and shares a dependabot group with
it, so without an entry the group can carry a next 16 config into a
project still on next 15 — a combination this repository is not ready for
while sharp and postcss still hold it to next 15.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@hal-shu-sato
hal-shu-sato merged commit 6092bca into main 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