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