nbadal / ktlint-intellij-plugin

Ktlint plugin for IntelliJ IDEA + Android Studio
MIT License
150 stars 22 forks source link

With the new update, different KtLint rules are being applied. #537

Closed SrBrahma closed 3 weeks ago

SrBrahma commented 3 weeks ago

Maybe it's no longer using my .editorconfig and is now using the default rules?

SrBrahma commented 3 weeks ago

Found the issue: The plugin uses the last Ktlint version, while my project uses 1.1.0. The 1.3.0 moved some rules from experimental to non-experimental, that's why they are now being applied

paul-dingemans commented 3 weeks ago

Found the issue: The plugin uses the last Ktlint version, while my project uses 1.1.0. The 1.3.0 moved some rules from experimental to non-experimental, that's why they are now being applied

Starting from version 0.23.0 the plugin allows you to run with an older version like 1.1.0 if you don't want or cannot update the ktlint version in the project. See Ktlint Plugin preferences.

SrBrahma commented 3 weeks ago

Ty! 🤗