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

More options for full control instead of styles #212

Open
aminya opened this issue Mar 27, 2020 · 2 comments
Open

More options for full control instead of styles #212

aminya opened this issue Mar 27, 2020 · 2 comments

Comments

@aminya
Copy link

aminya commented Mar 27, 2020

Despite the flexibility that styles give us, it would be useful to allow the user to override certain rules using options instead of using some style (e.g. disabling line breaks for function arguments).

See prettier for example: https://prettier.io/docs/en/options.html

@domluna
Copy link
Owner

domluna commented Mar 27, 2020

So from my experience working with styles it's trending towards styles being used preliminary for line break style. For example, on the yaaas branch I've made all other things an option which could be used from any style.

@domluna
Copy link
Owner

domluna commented Mar 27, 2020

So for example there could be a style called NoLineBreaks which doesn't do any line breaks but just fixes indentation.

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

2 participants