Skip to content

Commit 96c06f8

Browse files
authored
Add projects, .config, and .nuspec to .editorconfig (#45225)
1 parent 3540e95 commit 96c06f8

File tree

2 files changed

+18
-2
lines changed
  • template_feed/Microsoft.DotNet.Common.ItemTemplates/content/EditorConfig/Dotnet
  • test/dotnet-new.Tests/Approvals/AllCommonItemsCreate.-o#EditorConfig-file#-n#item.verified/EditorConfig-file

2 files changed

+18
-2
lines changed

template_feed/Microsoft.DotNet.Common.ItemTemplates/content/EditorConfig/Dotnet/.editorconfig

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@ root = true
55
indent_style = space
66

77
# Xml files
8-
[*.{xml,props,targets}]
8+
[*.xml]
9+
indent_size = 2
10+
11+
# Xml project files
12+
[*.{csproj,fsproj,vbproj,proj}]
13+
indent_size = 2
14+
15+
# Xml config files
16+
[*.{props,targets,config,nuspec}]
917
indent_size = 2
1018

1119
# C# files

test/dotnet-new.Tests/Approvals/AllCommonItemsCreate.-o#EditorConfig-file#-n#item.verified/EditorConfig-file/.editorconfig

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,15 @@
55
indent_style = space
66

77
# Xml files
8-
[*.{xml,props,targets}]
8+
[*.xml]
9+
indent_size = 2
10+
11+
# Xml project files
12+
[*.{csproj,fsproj,vbproj,proj}]
13+
indent_size = 2
14+
15+
# Xml config files
16+
[*.{props,targets,config,nuspec}]
917
indent_size = 2
1018

1119
# C# files

0 commit comments

Comments
 (0)