Run ktlint with `--log-level=debug` to get more in...
# ktlint
p
Run ktlint with
--log-level=debug
to get more info. I think that the problem with your
.editorconfig
setup is that the globs are overlapping. Also you can specify globs and exclude globs as command line parameters.