Skip to content
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

Save ktlint rules to project #230

Merged
merged 18 commits into from
Nov 5, 2024
Merged

Save ktlint rules to project #230

merged 18 commits into from
Nov 5, 2024

Conversation

KevinSchildhorn
Copy link
Contributor

@KevinSchildhorn KevinSchildhorn commented Oct 24, 2024

  • Adding .editorConfig file for ktlint formatting
  • Updating KtLint gradle plugin to latest, and updating the ktlint version it's using.
  • Running KtLint

.editorconfig Outdated Show resolved Hide resolved
.editorconfig Outdated Show resolved Hide resolved
.editorconfig Outdated Show resolved Hide resolved
@KevinSchildhorn
Copy link
Contributor Author

KevinSchildhorn commented Oct 24, 2024

MainActivity.kt:47:22 Super type should start on a newline (standard:class-signature) I'm not sure how to disable this rule.

I want it to be
class MainActivity : ComponentActivity(), KoinComponent
but it ends up being

class MainActivity :
    ComponentActivity(),
    KoinComponent

when formatting

@KevinSchildhorn KevinSchildhorn merged commit 86d9610 into main Nov 5, 2024
1 check passed
@KevinSchildhorn KevinSchildhorn deleted the ks/RND-272 branch November 5, 2024 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants