Skip to content

Weird interaction with ktlint #75

@dalewking

Description

@dalewking

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions