Conversation
- Update eslint to v10.0.0 and @eslint/js to v10.0.1 - Replace eslint-plugin-eslint-comments with @eslint-community/eslint-plugin-eslint-comments - Add @eslint/compat and wrap v10-incompatible plugins with fixupPluginRules (import-x, jsdoc, comments, sort-class-members) - Remove deprecated @typescript-eslint/no-var-requires rule
…transform-properties
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
You have run out of free Bugbot PR reviews for this billing cycle. This will reset on March 26. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
@YusukeHirao linters/packages/@d-zero/eslint-plugin/package.json Lines 24 to 35 in 7086954 関連して、@typescript-eslint/utils が v8.53.1 になっていますが、その peerDependencies で eslint v10 が含まれていないようでして、ただ今の yarn.lock では(おそらく他パッケージの依存によって)@typescript-eslint/utils の v8.56.1 が eslint v10 を含んでいるようです。 |
|
@YusukeHirao の peerDependencies で eslint が v9 までしか明記されていないようです。 最新(今だと v4.7.1)の @eslint-community/eslint-plugin-eslint-comments だと v10 も明記されています。 |
Summary
eslint-plugin-eslint-commentsを非推奨のため@eslint-community/eslint-plugin-eslint-commentsに置換@eslint/compatのfixupPluginRulesで v10 未対応プラグイン(import-x, jsdoc, comments, sort-class-members)をラップ@typescript-eslint/no-var-requiresを削除no-useless-assignmentで検出されたprefer-individual-transform-propertiesのコードを修正Test plan
yarn lint:eslintが通ることprefer-individual-transform-propertiesのユニットテスト(13件)が通ること