https://github.com/appKODE/detekt-rules-composeA set of Detekt rules to help prevent common errors in projects using Jetpack Compose.
Rules
Uses type resolution: false
ReusedModifierInstance
UnnecessaryEventHandlerParameter
ComposableEventParameterNaming
ModifierHeightWithText
ModifierParameterPosition
ModifierDefaultValue
MissingModifierDefaultValue
PublicComposablePreview
https://github.com/Doist/detekt-rulesThis repository contains custom detekt rules based on Doist internal coding conventions.
Rules
Uses type resolution: false
NoBlankNewLineAfterClassHeader
ConsistentWhenEntries
SingleLineWhenEntryExpressionsAreWrapped
MutableObservablePropertyIsPrivate
NoNotNullOperator
TodoPattern
https://github.com/mkohm/detekt-hintA ruleset to implement detection of violation of programming principles. detekt-hint offers also instructions on how to integrate with Danger and Github Actions
Rules
Uses type resolution: true
InterfaceSegregationPrinciple
LackOfCohesionMethods
OpenClosedPrinciple
UseCompositionInsteadOfInheritance
https://gitlab.com/cromefire/detekt-gitlab-reportA reporter to export Detekt findings to GitLab Code Quality (and other code climate compatible tools).
This is designed for use with GitLab, but should also work fine with everything else that accepts the code climate format.
https://github.com/colematthew4/detekt-operatorRules to prefer expressions over named functions for kotlin operators.
Rules
Uses type resolution: false
PreferInOverContainsSyntax
PreferUnaryPrefixOverFunctionSyntax
PreferUnaryPostfixOverFunctionSyntax
PreferArithmeticSymbolSyntax
PreferBracketAccessorOverFunctionSyntax
https://github.com/cph-cachet/detekt-verify-implementationA ruleset which enables verifying whether concrete classes are implemented as specified according to annotations applied to base types.
Rules
Uses type resolution: true