chore: update editorconfig to be in sync with other projects
This commit is contained in:
parent
a6f1140b1f
commit
c7fb3fa867
2 changed files with 10 additions and 13 deletions
|
|
@ -19,17 +19,9 @@ indent_size = 2
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
[*.{cs,vb}]
|
[*.{cs,vb}]
|
||||||
#### code quality rule overrides ####
|
|
||||||
|
|
||||||
#> Identifiers should not match keywords
|
|
||||||
dotnet_diagnostic.CA1716.severity = suggestion
|
|
||||||
|
|
||||||
#### code style rule default severity ####
|
#### code style rule default severity ####
|
||||||
dotnet_analyzer_diagnostic.category-style.severity = warning
|
dotnet_analyzer_diagnostic.category-style.severity = warning
|
||||||
|
|
||||||
#> Use top-level statements
|
|
||||||
dotnet_diagnostic.IDE0210.severity = none
|
|
||||||
|
|
||||||
#### .NET Coding Conventions ####
|
#### .NET Coding Conventions ####
|
||||||
[*.{cs,vb}]
|
[*.{cs,vb}]
|
||||||
# Organize usings
|
# Organize usings
|
||||||
|
|
@ -87,11 +79,6 @@ dotnet_style_readonly_field = true
|
||||||
# Suppression preferences
|
# Suppression preferences
|
||||||
dotnet_remove_unnecessary_suppression_exclusions = none
|
dotnet_remove_unnecessary_suppression_exclusions = none
|
||||||
|
|
||||||
# ReSharper preferences
|
|
||||||
resharper_wrap_object_and_collection_initializer_style = chop_always
|
|
||||||
resharper_check_namespace_highlighting = none
|
|
||||||
resharper_csharp_wrap_lines = false
|
|
||||||
|
|
||||||
#### C# Coding Conventions ####
|
#### C# Coding Conventions ####
|
||||||
[*.cs]
|
[*.cs]
|
||||||
|
|
||||||
|
|
@ -127,6 +114,7 @@ csharp_preferred_modifier_order = public, private, protected, internal, static,
|
||||||
# Code-block preferences
|
# Code-block preferences
|
||||||
csharp_prefer_braces = true
|
csharp_prefer_braces = true
|
||||||
csharp_prefer_simple_using_statement = true
|
csharp_prefer_simple_using_statement = true
|
||||||
|
csharp_style_prefer_top_level_statements = false
|
||||||
|
|
||||||
# Expression-level preferences
|
# Expression-level preferences
|
||||||
csharp_prefer_simple_default_expression = true
|
csharp_prefer_simple_default_expression = true
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,15 @@
|
||||||
|
|
||||||
[*.{cs,vb}]
|
[*.{cs,vb}]
|
||||||
|
# disable CA1822: Mark members as static
|
||||||
|
# -> TUnit requiring instance methods for test cases
|
||||||
|
dotnet_diagnostic.CA1822.severity = none
|
||||||
|
# disable CA1707: Identifiers should not contain underscores
|
||||||
|
dotnet_diagnostic.CA1707.severity = none
|
||||||
# disable IDE0060: Remove unused parameter
|
# disable IDE0060: Remove unused parameter
|
||||||
dotnet_diagnostic.IDE0060.severity = none
|
dotnet_diagnostic.IDE0060.severity = none
|
||||||
# disable IDE0005: Unnecessary using directive
|
# disable IDE0005: Unnecessary using directive
|
||||||
dotnet_diagnostic.IDE0005.severity = none
|
dotnet_diagnostic.IDE0005.severity = none
|
||||||
|
# disable IDE0390: Method can be made synchronous
|
||||||
|
dotnet_diagnostic.IDE0390.severity = none
|
||||||
|
# disable IDE0391: Method can be made synchronous
|
||||||
|
dotnet_diagnostic.IDE0391.severity = none
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue