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

feat: enforce empty set/list style #280

Closed
wants to merge 3 commits into from
Closed

feat: enforce empty set/list style #280

wants to merge 3 commits into from

Conversation

kamadorueda
Copy link
Contributor

@kamadorueda kamadorueda commented Dec 11, 2021

Mentions #264

- Enforce `{}` over `{ }`,
  which seems to be predominant at nixpkgs
- Enforce `[]` over `[ ]`,
  which seems to be predominant at nixpkgs
Copy link
Member

@zimbatm zimbatm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I appreciate the contributions.

I just left some comments that need to be addressed, otherwise good to go! (and the CI)

@@ -1,4 +1,4 @@
{
attrs = {};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
attrs = {};
attrs = { };

test_data/indented_lambda.good.nix Show resolved Hide resolved
@@ -1,4 +1,4 @@
{
attrs = {};
lists = [ ];
lists = [];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
lists = [];
lists = [ ];

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants