-
Notifications
You must be signed in to change notification settings - Fork 101
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
kotlin 1.8.10 and friends #1017
Conversation
e79a755
to
cf744e6
Compare
- kotlin `1.8.10` - ksp `1.8.10-1.0.9` - drop Kotlinter because it doesn't play nicely with KSP's new source sets - replace Kotlinter with `com.rickbusarow.ktlint` - KtLint `0.49.1` - this comes with updated `.editorconfig` requirements
cf744e6
to
5fd4e07
Compare
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.
🍾
@@ -17,7 +17,7 @@ object HelloBackButtonWorkflow : StatefulWorkflow<Unit, State, Nothing, HelloBac | |||
enum class State : Parcelable { | |||
Able, | |||
Baker, | |||
Charlie; | |||
Charlie |
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.
whoa - no more ;
at the end. Can we have trailing commas :)?
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.
This is the standard:no-semi
rule. I can enable it if you'd like me to. ;)
For commas... no, it's not possible. It just doesn't work. Lots of performance regressions and all of the internal canary branches crashed.
@@ -40,7 +40,7 @@ internal class BackStackContainerLifecycleActivity : AbstractLifecycleTestActivi | |||
context: Context, | |||
container: ViewGroup? | |||
): ScreenViewHolder<BaseRendering> = | |||
ScreenViewHolder(initialEnvironment, View(context)) { _, _ -> /* Noop */ } | |||
ScreenViewHolder(initialEnvironment, View(context)) { _, _ -> } |
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.
I don't get these? Did ktlint remove these now?
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.
For the KtLint 0.49.x
season, the comment-wrapping
rule doesn't allow for single-line block comments. This is extracted into its own rule for 0.50.0
.
1.8.10
1.8.10-1.0.9
com.rickbusarow.ktlint
0.49.1
.editorconfig
requirements