# EditorConfig style reference
# https://docs.microsoft.com/ja-jp/visualstudio/ide/editorconfig-code-style-settings-reference



# top-most EditorConfig file
root = true

# Don't use tabs for indentation.
[*]
indent_style = space
end_of_line = crlf

# Code files
[*.{cs,csx,vb,vbx,ts,js,css,less}]
indent_size = 4
insert_final_newline = true
charset = utf-8-bom

# Razor files
[*.{cshtml,razor}]
indent_size = 4
charset = utf-8-bom

# Xml project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
indent_size = 4

# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 4

# JSON files
[*.json]
indent_size = 4

# CSharp
[*.cs]
dotnet_code_quality_unused_parameters = all:silent
dotnet_code_quality.ca1822.api_surface = private

dotnet_sort_system_directives_first = true
dotnet_style_qualification_for_field = true
dotnet_style_qualification_for_property = true
dotnet_style_qualification_for_method = true
dotnet_style_qualification_for_event = true

csharp_prefer_simple_using_statement = false:none
csharp_style_deconstructed_variable_declaration = false:none
csharp_style_pattern_matching_over_as_with_null_check = false:none
