Skip to content

Conversation

@menny
Copy link
Member

@menny menny commented Aug 7, 2025

This PR introduces Spotless to the project to enforce consistent code formatting across Kotlin,
Gradle Kotlin DSL, and Markdown files.

Key changes include:

  • Added Spotless plugin to settings.gradle.kts.
  • Configured Kotlin, Kotlin Gradle, and Markdown formatting rules in build.gradle.kts, including ktfmt, trimTrailingWhitespace, and endWithNewline.
  • Applied formatting changes using spotlessApply.
  • Integrated spotlessCheck into the GitHub CI workflow to ensure future code adheres to the defined formatting standards.

This will help maintain code quality and readability, and reduce merge conflicts related to
formatting.

This PR introduces Spotless to the project to enforce consistent code formatting across Kotlin,
  Gradle Kotlin DSL, and Markdown files.

  Key changes include:
   - Added Spotless plugin to settings.gradle.kts.
   - Configured Kotlin, Kotlin Gradle, and Markdown formatting rules in build.gradle.kts, including
     ktfmt, trimTrailingWhitespace, and endWithNewline.
   - Applied formatting changes using spotlessApply.
   - Integrated spotlessCheck into the GitHub CI workflow to ensure future code adheres to the
     defined formatting standards.

  This will help maintain code quality and readability, and reduce merge conflicts related to
  formatting.
@menny menny merged commit 91144f4 into main Aug 7, 2025
1 check passed
@menny menny deleted the spotless branch August 7, 2025 14:48
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.

1 participant