Skip to content

Commit 2a38816

Browse files
committed
chore: add .editorconfig setting file
1 parent 26bd037 commit 2a38816

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

.editorconfig

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_style = space
8+
indent_size = 4
9+
insert_final_newline=true
10+
trim_trailing_whitespace=true
11+
12+
# Visual Studio Spell checker configs (https://learn.microsoft.com/en-us/visualstudio/ide/text-spell-checker?view=vs-2022#how-to-customize-the-spell-checker)
13+
spelling_exclusion_path = ./exclusion.dic
14+
15+
# Solution files
16+
[*.{sln,slnx}]
17+
indent_size = 2
18+
19+
# MSBuild project files
20+
[*.{csproj,props,targets}]
21+
indent_size = 2
22+
23+
# Xml config files
24+
[*.{ruleset,config,nuspec,resx,runsettings,DotSettings}]
25+
indent_size = 2
26+
27+
# JSON files
28+
[*.json]
29+
indent_size = 2
30+
31+
# YAML files
32+
[*.{yml]
33+
indent_size = 2
34+
35+
# PowerShell files
36+
[*.ps1]
37+
indent_size = 2
38+
39+
# Markdown files
40+
[*.md]
41+
charset = utf-8-bom
42+
trim_trailing_whitespace = false
43+
44+
# C# code style settings
45+
[*.{cs}]
46+
47+
## TODO: Define custom settings

ConsoleAppFramework.sln

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ EndProject
1212
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6DF6534A-0F9D-44A4-BF89-AE1F3B243914}"
1313
ProjectSection(SolutionItems) = preProject
1414
.dockerignore = .dockerignore
15+
.editorconfig = .editorconfig
1516
.gitignore = .gitignore
1617
Directory.Build.props = Directory.Build.props
1718
ReadMe.md = ReadMe.md
18-
exclusion.dic = exclusion.dic
19+
exclusion.dic = exclusion.dic
1920
EndProjectSection
2021
EndProject
2122
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ConsoleAppFramework", "src\ConsoleAppFramework\ConsoleAppFramework.csproj", "{09BEEA7B-B6D3-4011-BCAB-6DF976713695}"

0 commit comments

Comments
 (0)