WArning/Error on multi blank lines

Hi Folks

Is there an option to force an error or a warning if there are more lines are blank.

Like this:

if (object.Equals(controlName, contentControl.Tag))
{
  var name ='MyName";


  return name;
}

0
1 comment

Hello Horst!

 

Thank you for contacting us.

R# doesn't warning for multi blank line code, I would rather suggest to use corresponding R# formatting options or use Stylecop which introduces corresponding  analysis rule.

Thank you.

0

Please sign in to leave a comment.