-
Notifications
You must be signed in to change notification settings - Fork 50
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump ktlint to 0.45.2 #243
Conversation
Not sure if that's in mergeable state, but I went to ask around about these changes here: https://kotlinlang.slack.com/archives/CKS3XG0LS/p1647897839331439 |
Thank you for all the research. I did peek at the thread in Kotlin slack. Has anyone provided guidance yet on the future of userData and Agree that we could drop custom params if editorconfig becomes the sole source of truth. I think that would warrant a 4.0 release if we do that. |
Unfortunately not :/
Yeah, that's what I would expect as well 馃憤
I can prepare a PR with the 1) approach somewhen later this week, so you could take a look how it would look like. |
It might be perhaps worth waiting for pinterest/ktlint#1442 to resolve? |
Agree 馃憤 |
6cb8609
to
01ce9b2
Compare
I reverted all the changes and only bumped
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you -- kicks the can down the road, but seems like that's the right thing for now.
I might have misunderstood 0.45.0's release notes, but it seems like ktlint
0.45.1
ignores passeduserData
. To make the tests pass, I had to use the experimental methods and pass theindent_size
viaeditorConfigOverride
馃憖Assuming ktlint now has much better integration via
.editorconfig
then maybe it'd make sense to drop the customindentSize
extension within the plugin?