Skip to content

Commit b6ef587

Browse files
committed
refs or cleanup
1 parent 11eebc9 commit b6ef587

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

src/.editorconfig

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
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
1415

1516
# Declare types in namespaces
16-
dotnet_diagnostic.CA1050.severity = None
17+
dotnet_diagnostic.CA1050.severity = none
1718

1819
# Use Literals Where Appropriate
1920
dotnet_diagnostic.CA1802.severity = error
2021

22+
resharper_all_underscore_local_parameter_name_highlighting = none
23+
2124
# Do not initialize unnecessarily
2225
dotnet_diagnostic.CA1805.severity = error
2326

@@ -147,7 +150,6 @@ dotnet_diagnostic.CA1869.severity = error
147150
# Use a cached 'SearchValues' instance
148151
dotnet_diagnostic.CA1870.severity = error
149152

150-
151153
# Microsoft .NET properties
152154
trim_trailing_whitespace = true
153155
csharp_preferred_modifier_order = public, private, protected, internal, new, static, abstract, virtual, sealed, readonly, override, extern, unsafe, volatile, async:suggestion
@@ -200,7 +202,8 @@ resharper_field_can_be_made_read_only_local_highlighting = none
200202
resharper_merge_into_logical_pattern_highlighting = warning
201203
resharper_merge_into_pattern_highlighting = error
202204
resharper_method_has_async_overload_highlighting = warning
203-
resharper_partial_type_with_single_part_highlighting = error
205+
# because stop rider giving errors before source generators have run
206+
resharper_partial_type_with_single_part_highlighting = warning
204207
resharper_redundant_base_qualifier_highlighting = warning
205208
resharper_redundant_cast_highlighting = error
206209
resharper_redundant_empty_object_creation_argument_list_highlighting = error

src/Directory.Packages.props

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
<PackageVersion Include="MarkdownSnippets.MsBuild" Version="27.0.2" />
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="Shouldly" Version="4.2.1" />
1313
<PackageVersion Include="Verify" Version="28.4.0" />
1414
<PackageVersion Include="Verify.DiffPlex" Version="3.1.2" />
1515
<PackageVersion Include="Verify.XunitV3" Version="28.4.0" />
1616
<PackageVersion Include="xunit.v3" Version="0.7.0-pre.15" />
1717
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.0-pre.49" />
1818
<PackageVersion Include="NUnit" Version="4.2.2" />
19-
<PackageVersion Include="Verify.NUnit" Version="28.3.2" />
19+
<PackageVersion Include="Verify.NUnit" Version="28.4.0" />
2020
</ItemGroup>
2121
</Project>

0 commit comments

Comments
 (0)