PowerShell / PowerShell/PSScriptAnalyzer
Declare requires v5 if using classes
Open
@kapilmb is already working on this.
Since Sep 23, 2016.
Issue - New Rule
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 414
- Avg merge
- 13h 1m
- Merged PRs (30d)
- 2
Description
If a script uses PowerShell class construct then the script must declare #Requires -Version 5.0
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.
Assessment
This issue has not been assessed yet.