Delete Whitelines is an Atom package for removing empty lines.
Just Select the text, use command palette (cmd + shift + P) > delete-whitelines:toggle or alt+shift+D (for MAC & windows) to remove empty lines within the selected text area.
(cmd + shift + P)
Good catch. Let us know what about this package looks wrong to you, and we'll
investigate right away.