Closed ashrafatef843 closed 3 months ago
Did you configure this correctly in your .editorconfig
? See https://pinterest.github.io/ktlint/latest/rules/standard/#function-naming
@paul-dingemans No I just downloaded the jar file of ktlint and added it to the plugin inside the field of Ruleset Jars.
That is not enough. You need to configure to avoid conflict with ktlint rules. See ktlint documentation link above.
Compose rules doesn't work inside the plugin.
Compose rule version jar: v0.3.13 Android studio version: Android Studio Hedgehog | 2023.1.1 Ktlint plugin version: 0.21.0
Error: Function name should start with a lowercase letter (except factory methods) and use camel case (standard:function-naming)
.editorconfig: