coala-bears icon indicating copy to clipboard operation
coala-bears copied to clipboard

PowerShell formatter

Open jayvdb opened this issue 5 years ago • 2 comments

https://github.com/DTW-DanWard/PowerShell-Beautifier seems to be the best option

jayvdb avatar Jun 09 '19 18:06 jayvdb

https://github.com/StartAutomating/ScriptCop might also be worth looking at, but appears unmaintained.

jayvdb avatar Jun 09 '19 18:06 jayvdb

PSScriptAnalyzer (c.f. https://github.com/coala/coala-bears/issues/2915) also includes a good formatter, but it doesnt support paths. c.f. https://github.com/PowerShell/PSScriptAnalyzer/issues/775 But it should be good enough to wrap in a bear.

jayvdb avatar Jun 19 '19 18:06 jayvdb