Skip to content

Commit

Permalink
Use settings from PowerShellPracticeAndStyle/Style-Guide (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
Trenly authored Nov 5, 2024
1 parent 5b8e762 commit aae4652
Show file tree
Hide file tree
Showing 14 changed files with 761 additions and 1,413 deletions.
18 changes: 16 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
{
"powershell.codeFormatting.preset": "Allman",
"editor.formatOnSave": true,
"[powershell]": {
"files.encoding": "utf8bom",
"files.autoGuessEncoding": true
}
},
"powershell.codeFormatting.preset": "OTBS",
"powershell.codeFormatting.useConstantStrings": true,
"powershell.codeFormatting.trimWhitespaceAroundPipe": true,
"powershell.codeFormatting.useCorrectCasing": true,
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
"powershell.codeFormatting.whitespaceBetweenParameters": true,
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
"powershell.codeFormatting.alignPropertyValuePairs": true,
"powershell.codeFormatting.autoCorrectAliases": true,
"powershell.codeFormatting.avoidSemicolonsAsLineTerminators": true,
"powershell.codeFormatting.ignoreOneLineBlock": true,
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
"powershell.codeFormatting.whitespaceAroundOperator": true,
"powershell.codeFormatting.whitespaceAfterSeparator": true,
"powershell.codeFormatting.whitespaceInsideBrace": true
}
Loading

0 comments on commit aae4652

Please sign in to comment.