avatar
block must not be padded by blank lines TypeScript
/** Before */
if(a < b) {
  if (c < d) {
    BLOCK A
  } else {
    BLOCK B
  }

  if (e < f) {
    BLOCK E
  } else {
    BLOCK F
  }
}
Note: we have space between if(c < d) and if (e < f).

=> Error: block must not be padded by blank lines

/** After => Fixed */
if(a < b) {
  if (c < d) {
    BLOCK A
  } else {
    BLOCK B
  }
  if (e < f) {
    BLOCK E
  } else {
    BLOCK F
  }
}
You need to login to do this manipulation!