Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format if to one line or 3 #317

Open
sirmspencer opened this issue Aug 2, 2023 · 1 comment
Open

Format if to one line or 3 #317

sirmspencer opened this issue Aug 2, 2023 · 1 comment

Comments

@sirmspencer
Copy link

sirmspencer commented Aug 2, 2023

Acceptable
(if true "a" "b")

(if true
  "a"
  "b")

Not acceptable

(if true "a"
    "b")
(if true
  "a" "b")

(ignore the inded

@sirmspencer
Copy link
Author

I think the rule for the formatter would be that if its not on 1 line, make it 3.

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

No branches or pull requests

1 participant