PowerShell / PowerShell/PSScriptAnalyzer
Migrate existing rules to PSSA2
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 414
- Avg merge
- 13h 1m
- Merged PRs (30d)
- 2
Description
PSSA2 should support most or all existing PSSA rules. Some rules may be inappropriate for continued use and others may need to be expanded, but gradual migration of rules should be possible.
Dependencies on Helper methods should be replaced with general purpose implementations that live under the appropriate class and injected into rules at instantiation time.
Some rules may need refinement or improvement, particularly in name or implementation. When this is done, a mechanism should be provided to improve compatibility.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inventorying the existing PSSA rules and their dependencies on Helper methods, then compare how PSSA2 instantiates rules. Define which rules can migrate, where general-purpose implementations should live, and how compatibility will be preserved for renamed or refined rules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100