Skip to content

Task formatKotlin does not respect ignored directories. #337

@strindberg

Description

@strindberg

We have configured the linter to ignore our (generated) code directory db like so:

tasks.lintKotlinMain {
    exclude("**/db/**")
}

This works fine. However, when running task formatKotlin, the formatter does not respect this setting but formats the code in the db directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions