Skip to content

Consider removing empty lines from empty attrset #299

@jfly

Description

@jfly

Description

Originally requested by @mightyiam in #297

Should we ensure that empty attrsets are always formatted the same way?

Small example input

{
  a = {
  };
  b = {

  };
  c = {


  };
}

Expected output

{
  a = { };
  b = { };
  c = { };
}

Actual output

{
  a = {
  };
  b = {

  };
  c = {

  };
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Approved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions