io.gitlab.arturbosch.detekt.cli.Configurations.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of detekt-cli Show documentation
Show all versions of detekt-cli Show documentation
Static code analysis for Kotlin
package io.gitlab.arturbosch.detekt.cli
import io.github.detekt.tooling.api.DefaultConfigurationProvider
import io.github.detekt.tooling.internal.NotApiButProbablyUsedByUsers
import io.gitlab.arturbosch.detekt.api.Config
@NotApiButProbablyUsedByUsers
@Deprecated("""
Exposes internal resource name. There should not be a case were just the resource name is needed.
Please use the DefaultConfigurationProvider to get a default config instance.
"""
)
const val DEFAULT_CONFIG: String = "default-detekt-config.yml"
@NotApiButProbablyUsedByUsers
@Deprecated(
"Use official api for the default config.",
ReplaceWith(
"DefaultConfigurationProvider.load().get()",
"io.github.detekt.tooling.api.DefaultConfigurationProvider"
)
)
fun loadDefaultConfig(): Config = DefaultConfigurationProvider.load().get()
© 2015 - 2025 Weber Informatics LLC | Privacy Policy