Skip to content

Supercharge klint configuration with logLevel option — or similar behavior #1977

@x80486

Description

@x80486

I'm using klint for kotlinGradle. I couldn't find how to set the log level in order to figure it out what's causing some changes when auto-formatting.

I guess augmenting BaseKotlinExtension.KtlintConfig with logLevel should do it?

Bonus points for an enum with the log levels — and supporting a string value as well for those who don't want to go back and forth with the imports 😅

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions