microsoft / microsoft/TypeScript
compilerOptions.plugins accepts missing plugins without any logging or error information
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Go
- Sterne
- 111k
- Forks
- 14.3k
- Ø Merge
- 1 T. 19 Std.
- Gemergte PRs (30 T.)
- 117
Beschreibung
🔎 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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit dem tsconfig.json-Beispiel und der Verarbeitung von compilerOptions.plugins; verwende dann den verknüpften Playground-Fall, um das Verhalten bei fehlendem Plugin zu reproduzieren. Erledigt ist es, wenn eine Referenz auf ein fehlendes Plugin die angeforderten Logging- oder Fehlerinformationen erzeugt, ohne stillschweigend ignoriert zu werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- compilers
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100