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

io.gitlab.arturbosch.detekt.cli.Configurations.kt Maven / Gradle / Ivy

There is a newer version: 1.23.7
Show newest version
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