Set CodeMustNotContainMultipleBlankLinesInARow to true
MODIFY
Settings.StyleCop
Settings.StyleCop
<BooleanProperty Name="Enabled">True</BooleanProperty>
</RuleSettings>
</Rule>
+ <Rule Name="CodeMustNotContainMultipleBlankLinesInARow">
+ <RuleSettings>
+ <BooleanProperty Name="Enabled">True</BooleanProperty>
+ </RuleSettings>
+ </Rule>
<Rule Name="StatementMustNotBeOnSingleLine">
<RuleSettings>
<BooleanProperty Name="Enabled">True</BooleanProperty>

Set CodeMustNotContainMultipleBlankLinesInARow to true