Skip to main content

Detekt 3rd Party Rules Marketplace

List of Detekt Rules that have been built by the community.

🙏 Please add your rulesetFind more rules on Github

All rulesets

  • A ruleset that wraps the warnings and info messages of the Kotlin compiler as detekt findings..

    Coordinates

    detektPlugins("com.github.BraisGabin:detekt-compiler-rules:+") on Jitpack

    Rules

    Uses type resolution: true

    • CompilerInfo
    • CompilerWarning

  • A set of Detekt rules to help prevent common errors in projects using Jetpack Compose.

    Coordinates

    detektPlugins("ru.kode:detekt-rules-compose:+") on MavenCentral

    Rules

    Uses type resolution: false

    • ReusedModifierInstance
    • UnnecessaryEventHandlerParameter
    • ComposableEventParameterNaming
    • ModifierHeightWithText
    • ModifierParameterPosition
    • ModifierDefaultValue
    • MissingModifierDefaultValue
    • PublicComposablePreview

  • This repository contains custom detekt rules based on Doist internal coding conventions.

    Coordinates

    detektPlugins("com.doist.detekt:detekt-rules:+") on GithubPackages

    Rules

    Uses type resolution: false

    • NoBlankNewLineAfterClassHeader
    • ConsistentWhenEntries
    • SingleLineWhenEntryExpressionsAreWrapped
    • MutableObservablePropertyIsPrivate
    • NoNotNullOperator
    • TodoPattern

  • Rules to prefer expressions over named functions for kotlin operators.

    Coordinates

    detektPlugins("io.cole.matthew.detekt.operator:detekt-operator:+") on GithubPackages

    Rules

    Uses type resolution: false

    • PreferInOverContainsSyntax
    • PreferUnaryPrefixOverFunctionSyntax
    • PreferUnaryPostfixOverFunctionSyntax
    • PreferArithmeticSymbolSyntax
    • PreferBracketAccessorOverFunctionSyntax

  • A ruleset which enables verifying whether concrete classes are implemented as specified according to annotations applied to base types.

    Coordinates

    detektPlugins("dk.cachet.detekt.extensions:detekt-verify-implementation:+") on GithubPackages

    Rules

    Uses type resolution: true

    • Immutable
    • DataClass