This project is read-only.

SA1500 Alternative

May 23, 2014 at 12:14 AM
Edited May 25, 2014 at 5:28 PM
This is a suggestion to allow a custom rule to enforce either having brackets on their own line OR the java style which is optimized for vertical height

example

current
myMethod
{
  if(..)
  {
      ...
  }
  else
  {
     ...
  }
}
alternative
myMethod {
  if(..) {
      ...
  } else {
     ...
  }
}