mirror of
https://github.com/Biarity/Sieve.git
synced 2025-07-26 12:13:28 +02:00
Fix for Issue #19
This commit is contained in:
40
.editorconfig
Normal file
40
.editorconfig
Normal file
@@ -0,0 +1,40 @@
|
||||
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs
|
||||
root = true
|
||||
|
||||
# All files
|
||||
[*]
|
||||
indent_style = space
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# Code files
|
||||
[*.{cs,csx,vb,vbx}]
|
||||
indent_size = 4
|
||||
end_of_line = crlf
|
||||
|
||||
# Xml files
|
||||
[*.xml]
|
||||
indent_size = 2
|
||||
|
||||
# Dotnet code style
|
||||
[*.{cs,vb}]
|
||||
# Organize usings
|
||||
dotnet_sort_system_directives_first = true
|
||||
|
||||
# Avoid this. unless absolutely necessary
|
||||
dotnet_style_qualification_for_field = false:suggestion
|
||||
dotnet_style_qualification_for_property = false:suggestion
|
||||
dotnet_style_qualification_for_method = false:suggestion
|
||||
dotnet_style_qualification_for_event = false:suggestion
|
||||
|
||||
# Use language keywords instead of BCL types
|
||||
dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
|
||||
dotnet_style_predefined_type_for_member_access = true:suggestion
|
||||
|
||||
# Naming conventions
|
||||
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
|
||||
# Classes, structs, methods, enums, events, properties, namespaces, delegates must be PascalCase
|
||||
dotnet_naming_rule.general_naming.severity = suggestion
|
||||
dotnet_naming_rule.general_naming.symbols = general
|
||||
dotnet_naming_rule.general_naming.style = pascal_case_style
|
||||
dotnet_naming_symbols.general.applicable_kinds = class,struct,enum,property,method,event,namespace,delegate
|
||||
dotnet_naming_symbols.general.applicable_accessibilities = *
|
Reference in New Issue
Block a user