Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

sample: space in containers #185

Closed
zimbatm opened this issue Mar 9, 2020 · 0 comments
Closed

sample: space in containers #185

zimbatm opened this issue Mar 9, 2020 · 0 comments
Assignees
Labels
formatting Issue with the output format needs triage

Comments

@zimbatm
Copy link
Member

zimbatm commented Mar 9, 2020

Both formats make sense but the former is what is being used in nixpkgs.

Input

{
  attrs = { };
  lists = [ ];
}

Output

{
  attrs = {};
  lists = [];
}

Desired output

see input.

@zimbatm zimbatm added formatting Issue with the output format needs triage labels Mar 9, 2020
@Rizary Rizary self-assigned this Mar 13, 2020
Rizary added a commit to Rizary/nixpkgs-fmt that referenced this issue Mar 17, 2020
bors bot added a commit that referenced this issue Mar 17, 2020
188: Fix: #185 - Change rules for empty brackets r=Rizary a=Rizary



Co-authored-by: rizary <[email protected]>
@bors bors bot closed this as completed in ce6d453 Mar 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
formatting Issue with the output format needs triage
Projects
None yet
Development

No branches or pull requests

2 participants