PowerShell / PowerShell/PSScriptAnalyzer
Add native command checking in UseCompatibleCommands
未關閉
還沒有人認領這個 Issue。
Area - Rules
Issue - Enhancement
- 主要語言
- C#
- 星號
- 2.2k
- 分支
- 415
- 平均合併
- 13 小時 1 分鐘
- 30 天內合併 PR
- 2
描述
UseCompatibleCommands already has information on what native commands are available in environments and where, and also comes with a platform-case-sensitivity-aware query API.
It would be reasonably straightforward to check for native command compatibility using this.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先閱讀 UseCompatibleCommands 及其感知平台大小寫敏感性的查詢 API,以了解可用的原生指令資料。加入原生指令相容性檢查,讓分析器能夠使用這些資訊;當使用現有的可用性與位置資料偵測到不相容的原生指令時,這項工作就完成了。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp, powershell
- 領域
- devtools
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100