I don't know if you could figure this out but I ran into some really bizarre behavior that led me to not use this tool. The fault may be with ktlint and not this tool and I don't really have a way to reproduce.
We had been using Mockmp and Mockative in a module of the project. I was trying to switch to just MocKMP. Also I have several work trees via git worktree.
When I switched to just MockKMP in one work tree I was getting ktlint violations on generated code but bizarrely the files it was complaining about were in a different work tree. I even cleaned that other work tree and it still complained about those files that did not even exist.
Not sure this is helpful but thought I should report what I saw.
I don't know if you could figure this out but I ran into some really bizarre behavior that led me to not use this tool. The fault may be with ktlint and not this tool and I don't really have a way to reproduce.
We had been using Mockmp and Mockative in a module of the project. I was trying to switch to just MocKMP. Also I have several work trees via git worktree.
When I switched to just MockKMP in one work tree I was getting ktlint violations on generated code but bizarrely the files it was complaining about were in a different work tree. I even cleaned that other work tree and it still complained about those files that did not even exist.
Not sure this is helpful but thought I should report what I saw.