All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.freeletics.gradle.scripts.KtLintError.kt Maven / Gradle / Ivy

The newest version!
package com.freeletics.gradle.scripts

import com.pinterest.ktlint.rule.engine.api.LintError
import java.nio.file.Path

internal data class KtLintError(
    val file: Path,
    val error: LintError,
    val corrected: Boolean,
) {
    fun print(prefix: String) {
        println("$prefix $file:${error.line} ${error.ruleId} ${error.detail}")
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy