8000 Consider removing empty lines from empty attrset · Issue #299 · NixOS/nixfmt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Consider removing empty lines from empty attrset #299
Open
@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

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0