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

unused_code.UnusedCodeScalafixConfig.scala Maven / Gradle / Ivy

The newest version!
package unused_code

import metaconfig.ConfDecoder
import metaconfig.generic.Surface

final case class UnusedCodeScalafixConfig(
  outputPath: String,
  removeFile: Boolean,
)

object UnusedCodeScalafixConfig {
  val default = UnusedCodeScalafixConfig(
    outputPath = "target/unused-code/unused.json",
    removeFile = true,
  )
  implicit val surface: Surface[UnusedCodeScalafixConfig] =
    metaconfig.generic.deriveSurface[UnusedCodeScalafixConfig]
  implicit val decoder: ConfDecoder[UnusedCodeScalafixConfig] =
    metaconfig.generic.deriveDecoder(default)

  def configKey: String = "UnusedCode"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy