coala / coala-bears

Bears for coala
https://coala.io/
GNU Affero General Public License v3.0
294 stars 580 forks source link

PowerShell formatter #2914

Open jayvdb opened 5 years ago

jayvdb commented 5 years ago

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

jayvdb commented 5 years ago

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

jayvdb commented 5 years ago

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.