-
Notifications
You must be signed in to change notification settings - Fork 81
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
ktlint 1.0 #324
ktlint 1.0 #324
Conversation
and its terrible function naming rule that doesn't honor Compose conventions!
@@ -36,8 +36,8 @@ import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet.Companion.COMMON_MAIN_ | |||
import org.jetbrains.kotlin.gradle.plugin.SubpluginArtifact | |||
import org.jetbrains.kotlin.gradle.plugin.SubpluginOption | |||
|
|||
private const val extensionName = "molecule" | |||
private const val moleculeRuntime = "app.cash.molecule:molecule-runtime:$moleculeVersion" | |||
private const val EXTENSION_NAME = "molecule" |
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.
Java called...
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.
Yeah I hate it, but https://kotlinlang.org/docs/coding-conventions.html#property-names
ktlint = "com.pinterest:ktlint:0.50.0" | ||
ktlint = "com.pinterest.ktlint:ktlint:1.0.1" |
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 should be "com.pinterest.ktlint:ktlint-cli:1.0.1"
for now, see https://github.com/pinterest/ktlint/releases/tag/1.0.0
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.
Want to send a PR?
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.
It's #325.
and its terrible function naming rule that doesn't honor Compose conventions!
Closes #322