dsccommunity / dsccommunity/DscResource.Test
PSScriptAnalyzer: Remove PSAvoidUsingWriteHost from required rules
Open
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 6
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Looking at the docs, it looks like if using PS5.0+ using Write-Host looks to be a non issue now as it wraps Write-Information.
Worse case is move it to flagged rules to allow it to be suppressed on a repo by repo basis.
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
Find the repository's PSScriptAnalyzer required-rules configuration and compare PSAvoidUsingWriteHost with the linked PowerShell Write-Host documentation. Done means the rule is removed from required rules or moved to flagged rules, with the repository's rule validation still passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100