prettier-plugin-posh

Forked from 💞 fvictorio's 💞 tutorial article on how to write a plugin for Prettier.

src/index.js

Holds the printPosh() method that will handle printing the AST elements.

src/parse.js

Using the npm module powershell to execute powershell that will return json formatted AST information...

example.ps1

A few lines of simple powershell syntax.