-
Couldn't load subscription status.
- Fork 33
Adding KtLint #116
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
base: main
Are you sure you want to change the base?
Adding KtLint #116
Conversation
Renamed backgroundDispatcher to BackgroundDispatcher
| root = true | ||
|
|
||
| [*.{kt,kts}] | ||
| end_of_line = lf |
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.
Should we set this? Git automatically changes end_of_line based on the platform so this might result in a lot of changes if this project is opened on Windows.
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.
Oh interesting point. It's in the other .editorConfigs in other projects so we'd want to remove it from those as well.
build.gradle.kts
Outdated
| alias(libs.plugins.dokka) apply false | ||
| alias(libs.plugins.touchlab.docusaurusosstemplate) | ||
| alias(libs.plugins.mavenPublish) apply false | ||
| id("org.jlleitschuh.gradle.ktlint") version "12.2.0" apply false |
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.
Please move this to libs.versions.toml?
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.
moved
.github/workflows/build.yml
Outdated
| - name: Run Gradle Build | ||
| run: ./gradlew build --no-daemon --stacktrace --no-build-cache | ||
| run: ./gradlew ktlintCheck build --no-daemon --stacktrace --no-build-cache |
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.
build includes check, and since we configured check to depend on ktlintCheck, we don't need to specify it explicitly here.
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.
reverted it
No description provided.