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

Allow 2 spaces instead of 4 #52

Closed
vanniktech opened this issue May 31, 2017 · 1 comment
Closed

Allow 2 spaces instead of 4 #52

vanniktech opened this issue May 31, 2017 · 1 comment

Comments

@vanniktech
Copy link
Contributor

I read the note in the README:

No configuration. Which means no decisions to make, nothing to argue about and no special files to manage.
While this might sound extreme, keep in mind that ktlint tries to capture (reflect) official code style from kotlinlang.org (+ we support additional 3rd party rulesets).

Can you budge in this case regarding the spaces or you want to keep it dead simple?

@vanniktech
Copy link
Contributor Author

NVM. I read the next line:

* Starting from 0.8.0 value of indent_size specified under [*{kt,kts}] section in .editorconfig takes precedence (if any). Official recommendation is to use 4 spaces, though. (see #43 for details)

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