PowerShell / PowerShell/PSScriptAnalyzer
Allow UseCompatibleCommands to ignore whole modules
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 2.2k
- Forks
- 414
- Ø Merge
- 13 Std. 1 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
Currently UseCompatibleCommands only ignores commands on an individual basis. When one system has a whole module that another does not, this can be cumbersome to configure. Instead it should be able to ignore whole modules.
As part of this change, the query API should be updated so that data elements have a reference to their parents (for example CmdletData refers to the containing ModuleData) to make this possible.
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 damit, UseCompatibleCommands sowie die Definitionen von CmdletData und ModuleData zu finden, und verfolge dann, wie die Query-API Befehlsdaten darstellt. Die Änderung ist abgeschlossen, wenn die Konfiguration ein gesamtes Modul ignorieren kann und Abfrageergebnisse die Referenz auf das übergeordnete Modul jedes Datenelements offenlegen; im Issue werden keine Tests oder Dateipfade genannt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, powershell
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100