Skip to content

lexa-diky/detekt-code-climate-report

Detect ❤️ CodeClimate

Project Type Detekt Plugin Github Actions Build Apl Stars GitHub

Detekt report in CodeClimate format

Shutout to Cromefire's implementation for inspiration.

Installation

  1. Add dependency on the library in detektPlugin configuration
repositories {
    maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}

dependencies {
    add("detektPlugins", "io.github.lexa-diky:detekt-code-climate:0.0.2-SNAPSHOT")
}
  1. Add the report in detekt settings
tasks.detekt {
    // recommended for better report generation
    basePath = project.layout.projectDirectory.asFile.absolutePath

    reports {
        custom {
            reportId = "code-climate"
            outputLocation.set("<location>")
        }
    }
}

Configuration

prettyPrint (default: true) - if true, output json will be properly formatted and human-readable

GitLab integration

To enable GitLab to read the generated report, please follow official guide.

About

Detekt report in CodeClimate format

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages