Skip to content

Add Spotless + ktlint for code formatting#16

Merged
dadachi merged 1 commit intomainfrom
add_spotless
Mar 27, 2026
Merged

Add Spotless + ktlint for code formatting#16
dadachi merged 1 commit intomainfrom
add_spotless

Conversation

@dadachi
Copy link
Copy Markdown
Contributor

@dadachi dadachi commented Mar 27, 2026

Summary

  • Add Spotless plugin with ktlint for Kotlin/Gradle code formatting enforcement
  • Exclude gradle/libs.versions.toml from formatting
  • Update .editorconfig with ktlint rules (matching nowinandroid conventions for Compose compatibility)
  • Add spotlessCheck and Android Lint steps to CI workflow
  • Add JVM crash logs to .gitignore
  • Auto-format all existing code (185 files)

Test plan

  • ./gradlew spotlessCheck passes
  • ./gradlew test passes
  • CI workflow runs spotlessCheck before tests

🤖 Generated with Claude Code

Configure Spotless with ktlint to enforce consistent code style across the
project, excluding libs.versions.toml. Add spotlessCheck and Android Lint
to CI workflow. Add JVM crash logs to .gitignore.
Disable ktlint rules incompatible with existing codebase conventions
(package-name, wildcard-imports, max-line-length, property-naming, filename)
and Compose-unfriendly rules (matching nowinandroid .editorconfig).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dadachi dadachi merged commit 52a739c into main Mar 27, 2026
1 check passed
@dadachi dadachi deleted the add_spotless branch March 27, 2026 00:14
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