Closed
Description
Describe the bug
Trailing whitespace gets moved to previous line.
Is not working with v 1.12, but is working perfectly in version used on https://haxecheckstyle.github.io/haxe-formatter-docs/.
Input file
class Main {
static function main() {
trace(1);
trace(2);
}
}
Broken output
class Main {
→static function main() {
→→trace(1);→→
→→trace(2);
→}
}
Expected output
class Main {
→static function main() {
→→trace(1);
→→
→→trace(2);
→}
}
Optional: hxformat.json
{
"indentation": {
"trailingWhitespace": true
}
}
Metadata
Metadata
Assignees
Labels
No labels