Skip to content

Commit dad1530

Browse files
authored
Merge pull request #129 from xt0rted/dependabot/nuget/Roslynator.Analyzers-4.2.0
Bump Roslynator.Analyzers from 4.1.2 to 4.2.0
2 parents 201c344 + db69429 commit dad1530

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<PrivateAssets>all</PrivateAssets>
2828
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
2929
</PackageReference>
30-
<PackageReference Include="Roslynator.Analyzers" Version="4.1.2">
30+
<PackageReference Include="Roslynator.Analyzers" Version="4.2.0">
3131
<PrivateAssets>all</PrivateAssets>
3232
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
3333
</PackageReference>

analysis/roslynator.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ roslynator_accessor_braces_style = single_line_when_expression_is_on_single_line
88
roslynator_array_creation_type_style = implicit
99
roslynator_arrow_token_new_line = before
1010
roslynator_binary_operator_new_line = after
11+
roslynator_blank_line_after_file_scoped_namespace_declaration = true
1112
roslynator_blank_line_between_closing_brace_and_switch_section = false
1213
roslynator_blank_line_between_single_line_accessors = false
1314
roslynator_blank_line_between_using_directives = separate_groups
@@ -171,6 +172,9 @@ dotnet_diagnostic.RCS0055.severity = error
171172
# RCS0056: A line is too long
172173
dotnet_diagnostic.RCS0056.severity = none
173174

175+
# RCS0060: Add/remove line after file scoped namespace declaration
176+
dotnet_diagnostic.RCS0060.severity = error
177+
174178
# RCS1001: Add braces (when expression spans over multiple lines)
175179
dotnet_diagnostic.RCS1001.severity = error
176180

0 commit comments

Comments
 (0)