mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-11 20:26:50 +00:00
Configure formatting and extensions for vscode (#8136)
This commit is contained in:
committed by
GitHub
parent
1ac680fb5f
commit
ac8bbd9fc2
5
.gitignore
vendored
5
.gitignore
vendored
@@ -268,7 +268,10 @@ paket-files/
|
|||||||
*.sln.iml
|
*.sln.iml
|
||||||
|
|
||||||
# VSCode settings
|
# VSCode settings
|
||||||
.vscode/settings.json
|
.vscode/**
|
||||||
|
!.vscode/extensions.json
|
||||||
|
!.vscode/settings.json
|
||||||
|
!.vscode/tasks.json
|
||||||
|
|
||||||
# CodeRush
|
# CodeRush
|
||||||
.cr/
|
.cr/
|
||||||
|
|||||||
9
.vscode/extensions.json
vendored
Normal file
9
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"streetsidesoftware.code-spell-checker",
|
||||||
|
"hashicorp.hcl",
|
||||||
|
"davidanson.vscode-markdownlint",
|
||||||
|
"ms-vscode.powershell",
|
||||||
|
"timonwong.shellcheck"
|
||||||
|
]
|
||||||
|
}
|
||||||
20
.vscode/settings.json
vendored
Normal file
20
.vscode/settings.json
vendored
Normal file
@@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user