Ah, I think I see the problem. Your RuleSetProvider is placed in a directory with name "META-INF.services" while this should in subdirectory "services" inside directory "META-INF". The code sample in the ktlint code base is wrong. I already fixed that in the PR (https://github.com/pinterest/ktlint/pull/1279) I referred to before.
m
Milan Vadhel
01/03/2022, 6:10 AM
Thanks @Paul Dingemans, I will try with same.
Milan Vadhel
01/03/2022, 6:20 AM
@Paul Dingemans I have tried to delete and recreate dir but the IDE will show structure like this META-INF.services if it have only one dir inside the dir.