molindo / eslint-config-molindo

ESLint config that implements the Molindo styleguide and helps to catch errors.
MIT License
1 stars 2 forks source link

Remove no-lonely-if #43

Closed amannn closed 3 years ago

amannn commented 4 years ago

I think there are valid cases where the code is easier to read if you have a lonely if/else.

E.g.

if (conditionA) {
  ...
} else {
  if (conditionB) {
    ...    
  } else {
    ...        
  }
}