Skip to content

Conversation

@Mansi-mParticle
Copy link
Collaborator

Background

  • Currently, there is a conflict between the Trunk tool lint configuration and the default ktlint rules applied to kits modules.
    The Trunk configuration enforces a formatting style that does not fully align with ktlint’s default standard rules.

What Has Changed

  • Updated ktlint configuration specifically for kits/**/*.kt files
  • Aligned ktlint formatting rules with Android Studio default code style
  • Relaxed strict ktlint standard rules that conflict with Trunk lint defaults:
    • Disabled function-signature and class-signature checks
    • Disabled import ordering and unused import checks
    • Disabled max line length rule and increased allowed line length to 150

Screenshots/Video

  • {Include any screenshots or video demonstrating the new feature or fix, if applicable}

Checklist

  • I have performed a self-review of my own code.
  • I have made corresponding changes to the documentation.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have tested this locally.

Additional Notes

  • {Any additional information or context relevant to this PR}

Reference Issue (For employees only. Ignore if you are an outside contributor)

@Mansi-mParticle Mansi-mParticle requested a review from a team as a code owner January 26, 2026 16:02
@sonarqubecloud
Copy link

@Mansi-mParticle Mansi-mParticle merged commit e5484a0 into main Jan 26, 2026
29 of 31 checks passed
@Mansi-mParticle Mansi-mParticle deleted the fix/kits-ktlint-rules branch January 26, 2026 17:59
mparticle-automation added a commit that referenced this pull request Jan 27, 2026
## [5.76.0](v5.75.1...v5.76.0) (2026-01-27)

### Features

* Add trunk rule to detect mParticle API keys ([#633](#633)) ([3f3c79f](3f3c79f))
* Update Android Gradle plugin to 8.1.0 ([#575](#575)) ([fc6a25d](fc6a25d))

### Bug Fixes

* Align ktlint rules for kits with Android Studio defaults ([#640](#640)) ([e5484a0](e5484a0))
* migrate all generic logs to Logger class ([#630](#630)) ([9c9cb33](9c9cb33))
* Override ktlint rules for kits to avoid editorconfig conflicts ([#642](#642)) ([e31027a](e31027a))

### Updates & Maintenance

* bump actions/cache from 4 to 5 ([#635](#635)) ([fb471fa](fb471fa))
* bump actions/checkout from 5 to 6 ([#631](#631)) ([a0b2442](a0b2442))
* bump actions/checkout from 5.0.0 to 6.0.1 ([#637](#637)) ([449a0b5](449a0b5))
* bump actions/setup-java from 4 to 5 ([#625](#625)) ([46823b8](46823b8))
* bump actions/upload-artifact from 5 to 6 ([#636](#636)) ([05f6133](05f6133))
* Remove empty workflow file ([#634](#634)) ([0780abd](0780abd))
* Update submodules ([d6bf37f](d6bf37f))
@mparticle-automation
Copy link
Collaborator

🎉 This PR is included in version 5.76.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants