PowerShell / PowerShell/PSScriptAnalyzer
Allow UseCompatibleCommands to ignore whole modules
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 414
- Avg merge
- 13h 1m
- Merged PRs (30d)
- 2
Description
Currently UseCompatibleCommands only ignores commands on an individual basis. When one system has a whole module that another does not, this can be cumbersome to configure. Instead it should be able to ignore whole modules.
As part of this change, the query API should be updated so that data elements have a reference to their parents (for example CmdletData refers to the containing ModuleData) to make this possible.
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 locating UseCompatibleCommands and the CmdletData and ModuleData definitions, then trace how the query API represents command data. The change is complete when configuration can ignore an entire module and query results expose each data element's parent module reference; no tests or file paths are named in the issue.
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