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

[Code health] Upgrade ktfmt-gradle and apply latest ktfmt AS plugin to reduce formatting deltas between the two #2456

Merged
merged 9 commits into from
May 2, 2024

Conversation

gino-m
Copy link
Collaborator

@gino-m gino-m commented Apr 30, 2024

Upgrades ktfmt-gradle plugin to latest (0.18.0) and applies both ktfmt-gradle and AS ktfmt plugin until deltas are stable, with one exception in Config.kt which gets updated when running the AS plugin.

Towards #2457.

Repro described in facebook/ktfmt#444 in commit log.

@gino-m gino-m force-pushed the gino-m/ktfmt-diffs branch from 483f2dd to 7f16067 Compare April 30, 2024 13:36
@gino-m gino-m marked this pull request as ready for review April 30, 2024 13:55
@gino-m gino-m requested a review from sufyanAbbasi April 30, 2024 13:55
@gino-m gino-m changed the title [REPRO] ktfmt deltas [Code health] Upgrade ktfmt-gradle and apply latest ktfmt AS plugin to reduce formatting deltas between the two Apr 30, 2024
@gino-m
Copy link
Collaborator Author

gino-m commented Apr 30, 2024

@sufyanAbbasi PTAL? Note the churn in the commit log is because I was trying to isolate deltas as repro for facebook/ktfmt#444, and the get the two formatter plugins to a stable state on all but one delta.

@gino-m gino-m merged commit b68dc01 into master May 2, 2024
2 checks passed
@gino-m gino-m deleted the gino-m/ktfmt-diffs branch May 2, 2024 09:01
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