microsoft / microsoft/vscode

Refactor extension proposals check to use Array.prototype.includes

オープン
#334,653 コメント 0 件 リアクション 0 件 担当者 1 名 @dbaeumer が担当を希望しています GitHub で見る
stale triage-needed
主要言語
TypeScript
スター
193k
フォーク
42.4k
PR マージ指標
PR 指標を取得中

説明

**Problem/Feature Description**
In the extension proposal utility, the code currently uses `existing.indexOf(e.id) === -1` to filter known extensions.

**Proposed Solution**
Replace `existing.indexOf(e.id) === -1` with modern TypeScript/JavaScript syntax using `!existing.includes(e.id)` to improve code readability and maintainability.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。