diff --git a/.gitignore b/.gitignore index c056d3bef..6018a3757 100644 --- a/.gitignore +++ b/.gitignore @@ -268,7 +268,10 @@ paket-files/ *.sln.iml # VSCode settings -.vscode/settings.json +.vscode/** +!.vscode/extensions.json +!.vscode/settings.json +!.vscode/tasks.json # CodeRush .cr/ diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..4336e1e43 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "streetsidesoftware.code-spell-checker", + "hashicorp.hcl", + "davidanson.vscode-markdownlint", + "ms-vscode.powershell", + "timonwong.shellcheck" + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..ddd8d2ec0 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,20 @@ +{ + "powershell.codeFormatting.addWhitespaceAroundPipe": true, + "powershell.codeFormatting.alignPropertyValuePairs": true, + "powershell.codeFormatting.autoCorrectAliases": true, + "powershell.codeFormatting.newLineAfterCloseBrace": true, + "powershell.codeFormatting.newLineAfterOpenBrace": true, + "powershell.codeFormatting.openBraceOnSameLine": true, + "powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline", + "powershell.codeFormatting.preset": "Stroustrup", + "powershell.codeFormatting.trimWhitespaceAroundPipe": true, + "powershell.codeFormatting.whitespaceAfterSeparator": true, + "powershell.codeFormatting.whitespaceAroundOperator": true, + "powershell.codeFormatting.whitespaceBeforeOpenBrace": true, + "powershell.codeFormatting.whitespaceBeforeOpenParen": true, + "powershell.codeFormatting.whitespaceBetweenParameters": true, + "powershell.codeFormatting.whitespaceInsideBrace": true, + "shellcheck.exclude": [ + "SC1091" + ] +} \ No newline at end of file