PowerShell / PowerShell/PSScriptAnalyzer

Bring back deprecated rules

Open
#1,683 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API Proposal Area - Engine Up-for-Grabs
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.