PowerShell / PowerShell/PSScriptAnalyzer
Bring back deprecated rules
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 414
- Avg merge
- 13h 1m
- Merged PRs (30d)
- 2
Description
Historically PSScriptAnalyzer has had a number of rules that have been deprecated & then removed from the available set of rules, one such example is AvoidUninitializedVariables
I propose that we bring them back, but publish them contained in a separate module so that others could still use them if they choose to do so.
This realistically shouldn't equate for much additional engineering work & would provide a better mechanism for rule development & deprecation in future whilst not loosing potentially useful rules in specific cases.
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
The proposal is to restore deprecated PSScriptAnalyzer rules, including AvoidUninitializedVariables, in a separate module. Start by locating the existing or removed rule implementations and the module structure; done means the deprecated rules are published separately and remain usable without changing the available default rule set.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100