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

Update ktfmt default version and add dropbox-style option #642

Merged
merged 7 commits into from
Jul 13, 2020

Conversation

franvis
Copy link
Contributor

@franvis franvis commented Jul 10, 2020

Update ktfmt default version and add dropbox-style option to allow 4 spaces block and continuation indenting.

Solves: #641

@franvis franvis force-pushed the add_dropbox_style_option_to_ktfmt branch 2 times, most recently from 75f0fb4 to 6598bf0 Compare July 10, 2020 09:47
@franvis franvis force-pushed the add_dropbox_style_option_to_ktfmt branch from 6598bf0 to f5e158d Compare July 10, 2020 09:56
Copy link
Member

@nedtwigg nedtwigg left a comment

Choose a reason for hiding this comment

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

Thanks very much for this PR, we'll definitely get it merged after a bit of work. All my feedback is inline, except for this request:

  • in plugin-maven/CHANGES.md, please add a changelog entry that says:
    • Bump default ktfmt from 0.13 to 0.15 (#641).

@nedtwigg
Copy link
Member

This LGTM. Anything else you'd like before I merge and release?

@franvis
Copy link
Contributor Author

franvis commented Jul 13, 2020

I also think it looks good! 🚀

@nedtwigg nedtwigg merged commit 5273040 into diffplug:main Jul 13, 2020
@nedtwigg
Copy link
Member

Published in plugin-gradle 5.1.0.

facebook-github-bot pushed a commit to facebook/ktfmt that referenced this pull request Jul 15, 2020
…ptions (#53)

Summary:
Add a public api to represent dropbox style formatting options in order to avoid the duplication of formatting logic from consumers of ktfmt such as in: diffplug/spotless#642

Pull Request resolved: #53

Reviewed By: hick209

Differential Revision: D22530063

Pulled By: cgrushko

fbshipit-source-id: 67a03e761ca9f36aed0de7c422f03db75d0fd605
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

Successfully merging this pull request may close these issues.

2 participants