PowerShell / PowerShell/PSScriptAnalyzer
Need RuleId (Unique Rule Identifier) in addition to the RuleName
還沒有人認領這個 Issue。
- 主要語言
- C#
- 星號
- 2.2k
- 分支
- 414
- 平均合併
- 13 小時 1 分鐘
- 30 天內合併 PR
- 2
描述
Is it possible to have the RuleId (Unique Rule Identifier) in addition to the RuleName? I think, the length of RuleName is not fixed, right? If it is fixed, what is the maximum length of the RuleName?
The RuleId is also helpful when the RuleName gets changed/renamed.
Some useful details from the FxCop warnings:
https://msdn.microsoft.com/en-US/library/bb264474(v=vs.80).aspx
Please evaluate if we can have other properties in PSSA Rules similar to the FxCop rules.
https://msdn.microsoft.com/en-us/library/bb429379(v=vs.80).aspx
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
該 issue 未指明檔案、測試或進入點。首先定位 PSScriptAnalyzer 的規則中繼資料和警告輸出,然後將現有的 RuleName 表示形式與所要求的唯一識別碼及其他類似 FxCop 的屬性進行比較。要視為完成,需要達成共識的中繼資料設計、命名和長度規則,以及相應的實作和測試。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp, powershell
- 領域
- tooling
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100