microsoft / microsoft/TypeScript
compilerOptions.plugins accepts missing plugins without any logging or error information
オープン
まだ誰も着手していません。
Awaiting More Feedback
Suggestion
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.4k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 117
説明
🔎 Search Terms
compilerOptions, plugins, missing, module, plugin
🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about missing plugins
⏯ Playground Link
https://www.typescriptlang.org/play/?#code/MYewdgzgLgBAHjAvDAjAbiA
💻 Code
tsconfig.json:
{
"compilerOptions": {
"plugins": [
{
"name": "missing"
}
]
}
}
🙁 Actual behavior
TypeScript doesn't produce any debugging hints, or an error, if compilerOptions.plugins includes a reference to a missing plugin.
🙂 Expected behavior
When a tsconfig contains a compilerOptions.plugins entry that points to a plugin that could not be found, TypeScript should log or produce an error saying that it couldn't be found.
Additional information about the issue
No response
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
tsconfig.json の例と compilerOptions.plugins の処理から始め、次にリンクされた Playground のケースを使って、プラグインが見つからない場合の動作を再現します。プラグインへの参照が見つからないときに、要求された logging またはエラー情報が生成され、黙って無視されなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- compilers
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100