chore(deps): @book000/eslint-config を v1.14.16 にアップグレード#2313
Merged
Conversation
Member
Author
Code reviewFound 1 issue and automatically fixed it in commit 825707a:
lock-move-channel/src/manager/position-load-manager.ts Lines 16 to 20 in eb91596 Fixed: 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
There was a problem hiding this comment.
Pull request overview
@book000/eslint-config を v1.14.16 へ更新し、新たに有効化された ESLint ルールに合わせてコードを調整する PR です。
Changes:
@book000/eslint-configを1.14.9→1.14.16にアップグレードprefer-promise-reject-errors等に対応するため、Promise のrejectに渡す値をErrorに正規化- 依存関係更新に伴う
pnpm-lock.yamlの更新(typescript-eslint 系の解決バージョン更新等)
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/manager/position-load-manager.ts | reject に渡す値を Error に統一し、ESLint ルール変更に追従 |
| package.json | @book000/eslint-config のバージョン更新 |
| pnpm-lock.yaml | ロックファイルの依存解決を v1.14.16 に合わせて更新 |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
- @book000/eslint-config を 1.14.9 から 1.14.16 に更新 - v1.14.16 で有効化された `@typescript-eslint/no-unnecessary-type-assertion` に対応するため、`reject(error as Error)` の不要な型アサーションを削除 - 同時に `@typescript-eslint/prefer-promise-reject-errors` に対応するため、`error instanceof Error` チェックを追加し、Error でない場合は `new Error(String(error))` でラップするよう修正 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- load メソッドに docstring がなかった問題を修正(CLAUDE.md 要件: 「関数やインターフェースには日本語で docstring を記載・更新する」) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
825707a to
d1bdba1
Compare
book000
approved these changes
May 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
@book000/eslint-configを1.14.9から1.14.16にアップグレードし、新バージョンで有効化された ESLint ルールに対応しました。変更内容
パッケージアップデート
@book000/eslint-config:1.14.9→1.14.16コード修正
src/manager/position-load-manager.tsv1.14.16 で有効化された以下の ESLint ルールへの対応:
@typescript-eslint/no-unnecessary-type-assertion:reject(error as Error)の不要な型アサーション (as Error) を削除@typescript-eslint/prefer-promise-reject-errors: Promise のrejectにはErrorインスタンスを渡すことが要求されるため、error instanceof Errorでチェックし、Errorでない場合はnew Error(String(error))でラップするように修正loadメソッドに日本語の JSDoc コメントを追加(CLAUDE.md 要件に対応)背景
Renovate が作成した PR #2312 ("chore(deps): update dependency @book000/eslint-config to v1.14.16") にて、CI の
node-ciジョブが失敗していました。Renovate PR には直接変更を加えず、新規ブランチで対応しました。テスト結果
ローカルで
pnpm run lintを実行し、以下のすべての lint チェックが通過したことを確認済みです:lint:prettier- Prettier フォーマットチェック: 通過lint:eslint- ESLint チェック: 通過lint:tsc- TypeScript 型チェック: 通過GitHub Actions CI も全ジョブが通過しています。