Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Track ktlint's code styles#82

Closed
swankjesse wants to merge 1 commit intomainfrom
jwilson.0929.track_ktlint
Closed

Track ktlint's code styles#82
swankjesse wants to merge 1 commit intomainfrom
jwilson.0929.track_ktlint

Conversation

@swankjesse
Copy link
Copy Markdown
Contributor

Continuation indent is now 2 instead of 4.

Continuation indent is now 2 instead of 4.
@oldergod
Copy link
Copy Markdown
Member

already in conflict 🙀

<indentOptions>
<option name="INDENT_SIZE" value="2" />
<option name="CONTINUATION_INDENT_SIZE" value="4" />
<option name="CONTINUATION_INDENT_SIZE" value="2" />
Copy link
Copy Markdown
Collaborator

@vRallev vRallev Sep 29, 2020

Choose a reason for hiding this comment

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

That would have a big impact on many other codebases. We'd basically need to reformat all of them. What's the motivation?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

If your concern is only KtLint, then there's an open ticket to bring back the continuation indent: pinterest/ktlint#816

@JakeWharton
Copy link
Copy Markdown
Collaborator

Change SquareAndroid, too, please. Or just delete it and resolve #45.

@rjrjr
Copy link
Copy Markdown
Contributor

rjrjr commented Sep 29, 2020

Retracted my 👎 . Chatted offline, and realized that we can put a tag on the current commit to give ourselves control over rolling this out across our code base.

Bonus points if you go ahead and make that tag for us all.

@swankjesse
Copy link
Copy Markdown
Contributor Author

I’m gonna hold on this until we can roll forward with something that’s less invasive.

@swankjesse swankjesse closed this Sep 29, 2020
@swankjesse swankjesse deleted the jwilson.0929.track_ktlint branch October 2, 2020 01:41
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.

5 participants