Closed shubhampatel-hotstar closed 2 years ago
ktlint-gradle doesn't work yet with ktlint 0.47.1, which this plugin uses. It's stated in our docs:
This plugin doesn't currently support ktlint versions over 0.46.0, they are working to support it right now.
Last time I checked, kotlinter is the only plugin that supports the new version and that has been consistently updated to support new ones. You might want to give it a chance: https://github.com/jeremymailen/kotlinter-gradle
After adding twitter/compose-rules to the ktlint-gradle using the
ktlintRuleset
definition for thesubprojects
in the top levelbuild.gradle.kts
, while running the./gradlew ktlintCheck
, getting this issue:Stacktrace
Additional context