Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/auto-format-code #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oloflarsson
Copy link

This merge request makes no functional changes to the code. It just applies auto formatting of all files as described in https://dscottraynsford.wordpress.com/2017/11/18/auto-formatting-powershell-in-visual-studio-code/

I was working on a bug fix to #101 that I filed and realised the code style is a bit inconsistent and non-standard. If you are open to it I think formatting the code like this is a good idea.

https://poshcode.gitbook.io/powershell-practice-and-style/style-guide/code-layout-and-formatting seems similar to what VSCode does with the PowerShell module installed. It favours 4 spaces of indentation. Should I change the code to 4 spaces of indentation as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant