Rob Holt

Results 253 comments of Rob Holt

Just my 2 cents -- this is something I'd use this rule exactly to check; I understand there are differing opinions, but both my habitual editing experience (in VSCode, vim,...

This is really an issue for PSScriptAnalyzer. See https://github.com/PowerShell/PSScriptAnalyzer/issues/1641.

> Is there a way for me to move the issue I opened to PSScriptAnalyzer? I've already moved it over — the issue and your reply are already in the...

Yeah, no reason not to experiment. This is one of those cases where PSScriptAnalyzer might theoretically be able to, with some work, implement a more correct analysis, but really it...

If you'd like to use PSCompatibilityCollector today to generate a profile for Ubuntu 20.04: - Clone this repo - `cd PSCompatibilityCollector` - `./build.ps1` - Copy the output module to your...

> Remove UTF-8 BOM from text files. My main concern is with this part; Windows PowerShell isn't going to like BOM-less UTF-8

Instead, ps*1 files should probably have a BOM and other text files should not

The configuration should match that, but generally looks good to me

@xtqqczze after looking through your approach in this PR and thinking about some of the particulars of this repo, I've opened https://github.com/PowerShell/PSScriptAnalyzer/pull/1665, which goes a bit further and tries to...