PowerShell / PowerShell/PSScriptAnalyzer
Add rule: Each line should have less than 100 characters
Open
Nobody has claimed this yet.
Issue - New Rule
Style
Up-for-Grabs
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 414
- Avg merge
- 13h 1m
- Merged PRs (30d)
- 2
Description
Number 100 is arbitrary here: could be e.g. 80, but the point is we should check that lines aren't too long which makes them hard to read.
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 with the linked StyleGuidelines.md section, “Each line should have less than 100 characters,” and inspect how existing PSScriptAnalyzer rules are organized. Done means the analyzer checks PowerShell lines against an agreed limit and reports lines that exceed it; the issue notes that the value may be 100 or 80.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100