Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ root = true
indent_style = space

#--------------------------------------------------------------------------------------------------
# XML, JSON, and web files
# XML, JSON, YAML, and web files
#--------------------------------------------------------------------------------------------------
[*.{xml,csproj,vcxproj,vcxproj.filters,shproj,props,targets,config,resx,vstemplate,slnx}]
indent_size = 2

[*.{json,yml}]
[*.json]
indent_size = 2

[*.{yml,yaml}]
indent_size = 2
charset = utf-8

[*.{html,css}]
indent_size = 2

Expand Down Expand Up @@ -39,3 +43,7 @@ dotnet_style_predefined_type_for_member_access = true:suggestion

# Instantiate argument exceptions correctly
dotnet_diagnostic.CA2208.severity = warning

# Don't complain about not using modern collection syntax
dotnet_style_prefer_collection_expression = never
csharp_style_prefer_range_operator = false
Loading