-
Notifications
You must be signed in to change notification settings - Fork 163
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
Use Spotless #637
Use Spotless #637
Conversation
.git-blame-ignore-revs
Outdated
@@ -0,0 +1,2 @@ | |||
# Run './gradlew spotlessApply' | |||
2341806496ba2f23532a42775c4ef53b965e07c0 |
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.
Important: Don't squash or rebase when merging as that'll invalidate this rev.
build.gradle.kts
Outdated
.editorConfigOverride( | ||
mapOf( | ||
"indent_size" to "2", | ||
"disabled_rules" to "filename, no-unused-imports, indent, comment-spacing", |
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 just disabled these rules as they were causing some issues. They can be enabled in some follow up PRs.
...rch/presenters/src/jvmMain/kotlin/app/cash/zipline/samples/emojisearch/EmojiSearchZipline.kt
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,2 @@ | |||
# Run './gradlew spotlessApply' |
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.
NEAT
bbe6ee9
to
4dae215
Compare
4dae215
to
3e4d8c2
Compare
@veyndan you want me to help push this over the line? |
a7b8cce
to
7b43828
Compare
That'd be super helpful. I've been meaning to get to this but I realistically won't have time in the next week or so. Judging by the error it looks like the |
7b43828
to
6024805
Compare
@JakeWharton What are your opinions on getting this merged? Going through https://pinterest.github.io/ktlint/install/integrations/#gradle-integration, it looks like they all have some sort of problem:
I'm thinking we just revert back to Spotless (as we use it elsewhere) and then just migrate to another tool once any of the above issues are fixed. |
6024805
to
e1c88ed
Compare
e1c88ed
to
92873f4
Compare
92873f4
to
a88527f
Compare
Closes #516.