-
Notifications
You must be signed in to change notification settings - Fork 109
Remove "opinionated" and allow more config? #620
Copy link
Copy link
Closed
Labels
requires optionThis feature request would require option configurationThis feature request would require option configurationrfc/in discussionThis issue is currently in discussion, comments are welcome!This issue is currently in discussion, comments are welcome!
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
requires optionThis feature request would require option configurationThis feature request would require option configurationrfc/in discussionThis issue is currently in discussion, comments are welcome!This issue is currently in discussion, comments are welcome!
A discussion which continues to happen offline is the decision against config options for StyLua, so I've decided to open an issue on it.
My main goal has always been to have "sane" defaults in the formatting, but it is impossible to suit every case.
I wonder if being an "opinionated" formatted is still beneficial. It's main selling point has been to reduce bikeshedding, but in practice, I'm not sure if that actually rings true.
Rustfmt highlights an example where it's very configurable, but works pretty well (and from what I've seen, most people don't actually bother configuring, but maybe because there are so many options 😅).
Maybe we should just allow more (reasonable) configurations?