Skip to content

Commit

Permalink
chore: add common formatting (#107)
Browse files Browse the repository at this point in the history
- Introduced common formatting for the project.
- Applied common formatting to all files.
- Fixed camel case for variables.

Signed-off-by: Ivaylo Ivanov <iivanov@vmware.com>
  • Loading branch information
joisika authored Aug 14, 2024
1 parent ef59f92 commit 1b48c6e
Show file tree
Hide file tree
Showing 6 changed files with 890 additions and 1,030 deletions.
10 changes: 10 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recommendations": [
"vscode.json-language-features", // JSON
"davidanson.vscode-markdownlint", // Markdown Lint
"eamodio.gitlens", // GitLens
"esbenp.prettier-vscode", // Prettier
"ms-vscode.powershell", // PowerShell
"trunk.io" // Trunk
]
}
51 changes: 51 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.trimAutoWhitespace": true
},
"[md]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.trimAutoWhitespace": true,
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 100
},
"[powershell]": {
"editor.defaultFormatter": "ms-vscode.powershell",
"editor.formatOnPaste": true,
"editor.formatOnSave": false,
"editor.formatOnType": true,
"editor.trimAutoWhitespace": true,
"editor.wordWrap": "off"
},
"editor.bracketPairColorization.enabled": true,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSaveMode": "modificationsIfAvailable",
"editor.guides.bracketPairs": true,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.watcherExclude": {
"**/.DS_Store": true,
"**/.site/**": true,
"**/.trunk/**": true
},
"powershell.analyzeOpenDocumentsOnly": true,
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationAfterEveryPipeline",
"powershell.codeFormatting.preset": "OTBS",
"powershell.codeFormatting.trimWhitespaceAroundPipe": true,
"powershell.codeFormatting.whitespaceBetweenParameters": true,
"powershell.integratedConsole.suppressStartupBanner": true,
"powershell.scriptAnalysis.enable": true,
"extensions.ignoreRecommendations": false,
"cSpell.words": [
"sddcm",
"VCFIR",
"rainpole",
]
}
Loading

0 comments on commit 1b48c6e

Please sign in to comment.