Skip to content

Empty whitespace is not removed at the end of lines starting with # #235

@Schweber

Description

@Schweber

Description

Empty whitespace is removed at the end of "ordinary" lines. At the end of lines starting with # it is not removed however and the editorconfig test of nixpkgs fails.

Small example input

  # Wayland in Godot requires X11 until upstream fix is merged    
  # https://github.com/godotengine/godot/pull/73504     

Expected output

  # Wayland in Godot requires X11 until upstream fix is merged
  # https://github.com/godotengine/godot/pull/73504

Actual output

  # Wayland in Godot requires X11 until upstream fix is merged    
  # https://github.com/godotengine/godot/pull/73504     

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions