.vscode/settings.json

{
    "git.autofetch": true,
    "editor.formatOnSave": true,
    "editor.formatOnPaste": true,
    "editor.tabSize": 4,
    "editor.insertSpaces": true,
    "editor.detectIndentation": false,
    "files.trimTrailingWhitespace": true,
    "git.enableSmartCommit": true,
    "editor.minimap.enabled": true,
    "powershell.scriptAnalysis.enable": true,
    "powershell.codeFormatting.preset": "Custom",
    "powershell.codeFormatting.ignoreOneLineBlock": true,
    "powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
    "powershell.integratedConsole.focusConsoleOnExecute": false,
    "powershell.codeFormatting.whitespaceBeforeOpenParen": true,
    "powershell.codeFormatting.newLineAfterCloseBrace": true,
    "powershell.codeFormatting.alignPropertyValuePairs": true,
    "powershell.codeFormatting.whitespaceAfterSeparator": true,
    "powershell.codeFormatting.whitespaceAroundOperator": true,
    "powershell.codeFormatting.openBraceOnSameLine": true,
    "powershell.codeFormatting.trimWhitespaceAroundPipe": true,
    "powershell.codeFormatting.newLineAfterOpenBrace": false,
    "powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline",
    "editor.formatOnType": true,
    "files.autoSave": "afterDelay",
    "powershell.codeFormatting.autoCorrectAliases": true,
    "workbench.settings.applyToAllProfiles": [
        "powershell.codeFormatting.ignoreOneLineBlock",
        "powershell.codeFormatting.newLineAfterOpenBrace",
        "powershell.codeFormatting.pipelineIndentationStyle"
    ]
}