Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

Commit d7a0bdd

Browse files
Fix #148: Adding .editorconfig and other VSCode recommendations (#146)
* Adding an editorconfig for default line-endings and spacing across all editors * Added recommended extensions and settings for VSCode to ease shared dev environment * File was missing a / in the initial comment line * Update .editorconfig Co-Authored-By: Tiberriver256 <Micah.rairdon@gmail.com>
1 parent b1fa4f9 commit d7a0bdd

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 4
6+
end_of_line = crlf
7+
charset = utf-8
8+
trim_trailing_whitespace = false
9+
insert_final_newline = true

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["EditorConfig.EditorConfig", "ms-vscode.PowerShell"]
3+
}

.vscode/settings.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1"
3-
}
2+
"powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1",
3+
"editor.formatOnSave": true
4+
}

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/ A task runner that invokes Pester to run all Pester tests under the
1+
// A task runner that invokes Pester to run all Pester tests under the
22
// current workspace folder.
33
// NOTE: This Test task runner requires an updated version of Pester (>=4.0.3)
44
// in order for the problemMatcher to find failed test information (message, line, file).

0 commit comments

Comments
 (0)