David Kubecka
01/24/2024, 1:26 PMintellij_idea
to ktlint_official
and would like to know upfront which changes I should be expecting to make.Paul Dingemans
01/24/2024, 4:35 PM.editorconfig
. You can run Ktlint CLI with option --log-level=debug
which will list all rules that will be run given your configuration. Example:
17:34:56.603 [pool-1-thread-4] DEBUG com.pinterest.ktlint.rule.engine.internal.RuleProviderSorter -- Rules will be executed in order below:
- internal:ktlint-suppression,
- standard:annotation-spacing,
- standard:binary-expression-wrapping,
- standard:blank-line-before-declaration,
- standard:chain-wrapping,
- standard:class-naming,
David Kubecka
01/24/2024, 4:40 PMintellij_idea
and ktlint_official
, i.e. without any local modifications. In other words, which rules are in ktlint_official
that are not in intellij_idea
🙂Paul Dingemans
01/24/2024, 4:50 PMktlint_code_style=ktlint_official
in your .editorconfig
and run it. Do it one more time for intellij_idea
and compare results.