Skip to content

Integrate Detekt linter #250

Open
Open
@zaerald

Description

I was checking the intellij-platform-plugin-template, and saw a detekt linter in addition to ktlint. Do you think we can also integrate it with WMP @Unthrottled? This would be a part where we add missing goodies here in WMP based on the template repo.

https://github.com/JetBrains/intellij-platform-plugin-template/blob/e44bf3c3ec0d1fd1ac9e1f78bc5bda7eacb14257/build.gradle.kts#L15-L18

    // detekt linter - read more: https://detekt.github.io/detekt/gradle.html
    id("io.gitlab.arturbosch.detekt") version "1.14.2"
    // ktlint linter - read more: https://github.com/JLLeitschuh/ktlint-gradle
    id("org.jlleitschuh.gradle.ktlint") version "9.4.1"

Reference

Metadata

Assignees

No one assigned

    Labels

    type: choreEnvironment or non-critical issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions