haxe-formatter
haxe-formatter copied to clipboard
Empty line added between license and package statement
/*
* Copyright (C)2005-2018 Haxe Foundation
*
* etc
*/
package haxe;
turns into:
/*
* Copyright (C)2005-2018 Haxe Foundation
*
* etc
*/
package haxe;
I don't think you normally want an empty line there.
that's not a bug, that's a feature :smiley: see #292
though, one might argue whether emptylines.afterFileHeaderComment should default to 1 or 0
I agree that there should be an empty line in that case, but not here.
@azrafe7 Out of curiosity, how would you format this case?
@Gama11, well, I actually like that empty line between header and package. But also wouldn't bother much if it defaulted to no empty line in this case. :)