diffplug / diffplug/spotless

Supercharge `klint` configuration with `logLevel` option — or similar behavior

Open
#1,977 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
5.6k
Forks
559
Avg merge
1d 13h
Merged PRs (30d)
34

Description

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 `import`s 😅

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.