Skip to content

Commit 66a856d

Browse files
committed
chore: edit .editorconfig
1 parent cd5cf96 commit 66a856d

File tree

1 file changed

+13
-21
lines changed

1 file changed

+13
-21
lines changed

.editorconfig

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,35 @@
22
root = true
33

44
[*]
5-
charset = utf-8-bom
5+
charset = utf-8
6+
end_of_line = lf
67
indent_style = space
7-
indent_size = 4
8+
indent_size = 2
89
insert_final_newline = true
910
trim_trailing_whitespace = true
1011

1112
# 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)
1213
spelling_exclusion_path = ./exclusion.dic
1314

15+
[*.cs]
16+
indent_size = 4
17+
charset = utf-8-bom
18+
end_of_line = unset
19+
1420
# Solution files
1521
[*.{sln,slnx}]
16-
indent_size = 2
22+
end_of_line = unset
1723

1824
# MSBuild project files
1925
[*.{csproj,props,targets}]
20-
indent_size = 2
26+
end_of_line = unset
2127

2228
# Xml config files
2329
[*.{ruleset,config,nuspec,resx,runsettings,DotSettings}]
24-
indent_size = 2
25-
26-
# JSON files
27-
[*.json]
28-
indent_size = 2
29-
30-
# YAML files
31-
[*.{yml]
32-
indent_size = 2
33-
34-
# PowerShell files
35-
[*.ps1]
36-
indent_size = 2
30+
end_of_line = unset
3731

38-
# Markdown files
39-
[*.md]
40-
charset = utf-8-bom
41-
trim_trailing_whitespace = false
32+
[*{_AssemblyInfo.cs,.notsupported.cs}]
33+
generated_code = true
4234

4335
# C# code style settings
4436
[*.{cs}]

0 commit comments

Comments
 (0)