11root = true
2- # EditorConfig: http://EditorConfig.org
3-
4- # top-most EditorConfig file
52
63[* ]
74indent_style = space
85
9-
106[* .cs ]
117indent_size = 4
128charset = utf-8
@@ -17,12 +13,42 @@ resharper_redundant_accessor_body_highlighting = error
1713# Replace with field keyword
1814resharper_replace_with_field_keyword_highlighting = error
1915
16+ # Replace with single call to Single(..)
17+ resharper_replace_with_single_call_to_single_highlighting = error
18+
19+ # Replace with single call to SingleOrDefault(..)
20+ resharper_replace_with_single_call_to_single_or_default_highlighting = error
21+
22+ # Replace with single call to LastOrDefault(..)
23+ resharper_replace_with_single_call_to_last_or_default_highlighting = error
24+
25+ # Replace with single call to Last(..)
26+ resharper_replace_with_single_call_to_last_highlighting = error
27+
28+ # Replace with single call to First(..)
29+ resharper_replace_with_single_call_to_first_highlighting = error
30+
31+ # Replace with single call to FirstOrDefault(..)
32+ resharper_replace_with_single_call_to_first_or_default_highlighting = error
33+
34+ # Replace with single call to Any(..)
35+ resharper_replace_with_single_call_to_any_highlighting = error
36+
37+ # Replace with single call to Count(..)
38+ resharper_replace_with_single_call_to_count_highlighting = error
39+
2040# Declare types in namespaces
21- dotnet_diagnostic.CA1050.severity = None
41+ dotnet_diagnostic.CA1050.severity = none
2242
2343# Use Literals Where Appropriate
2444dotnet_diagnostic.CA1802.severity = error
2545
46+ # Potentially misleading parameter name in lambda or local function
47+ resharper_all_underscore_local_parameter_name_highlighting = none
48+
49+ # Redundant explicit collection creation in argument of 'params' parameter
50+ resharper_redundant_explicit_params_array_creation_highlighting = error
51+
2652# Do not initialize unnecessarily
2753dotnet_diagnostic.CA1805.severity = error
2854
@@ -152,7 +178,6 @@ dotnet_diagnostic.CA1869.severity = error
152178# Use a cached 'SearchValues' instance
153179dotnet_diagnostic.CA1870.severity = error
154180
155-
156181# Microsoft .NET properties
157182trim_trailing_whitespace = true
158183csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:suggestion
0 commit comments