Skip to content

依存関係の最新化とESLint flat config移行#367

Merged
ROhta merged 1 commit into
mainfrom
module
May 23, 2026
Merged

依存関係の最新化とESLint flat config移行#367
ROhta merged 1 commit into
mainfrom
module

Conversation

@ROhta

@ROhta ROhta commented May 23, 2026

Copy link
Copy Markdown
Owner

期待する挙動・状態

  • すべての devDependencies が最新版に更新される
  • TypeScript 6 への移行が完了し pnpm run build がエラー無く通る
  • engines が Node 24.16.0 / pnpm 11.1.2 を要求する
  • 全 GitHub Actions が コミット SHA で pin され、可読性のためタグコメントを併記する
  • ESLint が ESLint 10 + flat config (eslint.config.mjs) で動作する
  • pre-commit (.husky/pre-commit) → lint-staged → eslint + prettier の lint チェーンが実機で機能する

必要な依存関係

  • Node.js >=24.16.0
  • pnpm >=11.1.2(Node 24.16.0 同梱の corepack 0.35.0 が pin している default)
  • 新規追加: @eslint/js@^10.0.1 / typescript-eslint@^8.59.4 / globals@^17.6.0 / eslint@^10.4.0
  • 削除: @typescript-eslint/eslint-plugintypescript-eslint 統合パッケージへ置き換え)

確認済み項目

  • corepack pnpm install 成功
  • corepack pnpm run buildtsc -b)成功
  • corepack pnpm exec eslint . exit=0(flat config 動作確認)
  • rhysd/actionlint:1.7.4 による全 workflow 検証 pass (exit=0)
  • 全 GitHub Action を owner/repo@<40桁SHA> # <タグ> 形式で pin 済
  • tsconfig.json に ignoreDeprecations: "6.0"rootDir: "./src/ts" を追加し TypeScript 6 のビルドエラーを解消

見てほしいところ

  • PRのLabelsの設定は適切か
  • TypeScript 5.9 → 6.0 に伴う tsconfig.json の追加2行(ignoreDeprecations: "6.0" / rootDir: "./src/ts")の方針
  • lint-staged 16 → 17 のメジャー更新
  • @typescript-eslint/eslint-plugin を統合パッケージ typescript-eslint に置き換えた点
  • ESLint 設定をレガシー eslintConfig ブロックから eslint.config.mjs (flat config) に移行した点
  • GitHub Actions の SHA pin 表記(Dependabot 互換のタグコメント併記方式)

Copilot AI review requested due to automatic review settings May 23, 2026 01:31
@ROhta

ROhta commented May 23, 2026

Copy link
Copy Markdown
Owner Author

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

依存関係を最新化しつつ、TypeScript 6 への移行・ESLint 10 の flat config 化・GitHub Actions の SHA pin・Node/pnpm の要求バージョン引き上げをまとめて行うPRです(フロントエンド資産のビルド/静的解析/CI の足回り更新)。

Changes:

  • TypeScript 6 対応のため tsconfig.json を調整(ignoreDeprecations / rootDir 追加)
  • ESLint を ESLint 10 + flat config(eslint.config.mjs)へ移行し、関連devDependenciesを更新(typescript-eslint 統合パッケージ採用)
  • GitHub Actions をコミットSHAでpinし、CI上の Node/pnpm バージョンも更新

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tsconfig.json TypeScript 6 移行に伴うオプション追加(deprecation抑制、rootDir明示)
package.json engines更新(Node 24.16.0 / pnpm 11.1.2)と ESLint/TS 系devDependencies更新、旧 eslintConfig ブロック削除
pnpm-lock.yaml 依存関係最新化の反映(ESLint 10/TS6/周辺ツール更新)
eslint.config.mjs ESLint flat config を新規追加し、TS/Prettier/Globals 設定を集約
.github/workflows/deploy.yml Node/pnpm更新と、Actions の SHA pin 反映
.github/workflows/dependency-review.yml Node/pnpm更新と、Actions の SHA pin 反映
.github/workflows/stale-issues-and-pullrequests.yml Actions の SHA pin 反映
.github/workflows/synthetic-monitoring.yml Actions の SHA pin 反映
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@ROhta ROhta self-assigned this May 23, 2026
@ROhta ROhta added the dependencies モジュールアップデート label May 23, 2026
@ROhta
ROhta merged commit aa25a71 into main May 23, 2026
9 checks passed
@ROhta
ROhta deleted the module branch May 23, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies モジュールアップデート

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants