Skip to content

Commit 0890280

Browse files
committed
refs or cleanup
1 parent a7120fe commit 0890280

File tree

3 files changed

+41
-8
lines changed

3 files changed

+41
-8
lines changed

src/.editorconfig

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,54 @@
11
root = true
2-
# EditorConfig: http://EditorConfig.org
3-
4-
# top-most EditorConfig file
52

63
[*]
74
indent_style = space
85

9-
106
[*.cs]
117
indent_size = 4
128
charset = utf-8
139

10+
# Redundant accessor body
11+
resharper_redundant_accessor_body_highlighting = error
12+
13+
# Replace with field keyword
14+
resharper_replace_with_field_keyword_highlighting = error
15+
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
1439

1540
# Declare types in namespaces
16-
dotnet_diagnostic.CA1050.severity = None
41+
dotnet_diagnostic.CA1050.severity = none
1742

1843
# Use Literals Where Appropriate
1944
dotnet_diagnostic.CA1802.severity = error
2045

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+
2152
# Do not initialize unnecessarily
2253
dotnet_diagnostic.CA1805.severity = error
2354

@@ -147,7 +178,6 @@ dotnet_diagnostic.CA1869.severity = error
147178
# Use a cached 'SearchValues' instance
148179
dotnet_diagnostic.CA1870.severity = error
149180

150-
151181
# Microsoft .NET properties
152182
trim_trailing_whitespace = true
153183
csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:suggestion
@@ -200,7 +230,8 @@ resharper_field_can_be_made_read_only_local_highlighting = none
200230
resharper_merge_into_logical_pattern_highlighting = warning
201231
resharper_merge_into_pattern_highlighting = error
202232
resharper_method_has_async_overload_highlighting = warning
203-
resharper_partial_type_with_single_part_highlighting = error
233+
# because stop rider giving errors before source generators have run
234+
resharper_partial_type_with_single_part_highlighting = warning
204235
resharper_redundant_base_qualifier_highlighting = warning
205236
resharper_redundant_cast_highlighting = error
206237
resharper_redundant_empty_object_creation_argument_list_highlighting = error

src/Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
99
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
1010
<PackageVersion Include="Polyfill" Version="7.5.0" />
11-
<PackageVersion Include="ProjectDefaults" Version="1.0.145" />
11+
<PackageVersion Include="ProjectDefaults" Version="1.0.147" />
1212
<PackageVersion Include="Verify" Version="28.4.0" />
1313
<PackageVersion Include="Verify.DiffPlex" Version="3.1.2" />
1414
<PackageVersion Include="Verify.XunitV3" Version="28.4.0" />

src/Shared.sln.DotSettings

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:Boolean x:Key="/Default/Environment/Hierarchy/Build/SolutionBuilderNext/LogToFile/@EntryValue">False</s:Boolean>
3+
<s:String x:Key="/Default/Environment/Hierarchy/Build/SolutionBuilderNext/OutputVerbosityLevel/@EntryValue">Quiet</s:String>
24
<s:Boolean x:Key="/Default/CodeEditing/ContextActionTable/DisabledContextActions/=JetBrains_002EReSharper_002EIntentions_002ECSharp_002EContextActions_002EUseConfigureAwaitFalseAction/@EntryIndexedValue">True</s:Boolean>
35
<s:Boolean x:Key="/Default/CodeInspection/ExcludedFiles/FileMasksToSkip/=_002AMigrations_002A/@EntryIndexedValue">True</s:Boolean>
46
<s:Boolean x:Key="/Default/CodeInspection/ExcludedFiles/FileMasksToSkip/=_002A_002EDesigner_002Ecs/@EntryIndexedValue">True</s:Boolean>

0 commit comments

Comments
 (0)