Skip to content

Commit d57fa55

Browse files
committed
Enable RS0102 (Braces must not have blank lines between them)
This change excludes src/Compilers from the analysis.
1 parent f46e631 commit d57fa55

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

eng/config/rulesets/Shipping.ruleset

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@
116116
<Rule Id="RS0027" Action="Error" />
117117
<Rule Id="RS0040" Action="None" /> <!-- Defaultable types should have defaultable fields -->
118118
<Rule Id="RS0101" Action="None" /> <!-- Avoid multiple blank lines -->
119-
<Rule Id="RS0102" Action="None" /> <!-- Braces must not have blank lines between them -->
120119
</Rules>
121120
<Rules AnalyzerId="Microsoft.NetCore.Analyzers" RuleNamespace="Microsoft.NetCore.Analyzers.ImmutableCollections">
122121
<Rule Id="RS0012" Action="Warning" />

src/Compilers/.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ csharp_style_var_elsewhere = false:none
1111

1212
# RS0100: Statements must be placed on their own line
1313
dotnet_diagnostic.RS0100.severity = none
14+
15+
# RS0102: Braces must not have blank lines between them
16+
dotnet_diagnostic.RS0102.severity = none

0 commit comments

Comments
 (0)