You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When formatting the KDoc of a class, the @param and @property tags can be used to describe parameters. @param should be used for parameters that are not (visibly) stored (e.g. foo or private val foo), while property should be used for parameters that become visible properties (e.g. val foo). This is e.g. enforced by detekt's OutdatedDocumentation rule.
Detekt requires these tags to be in the order of the primary constructor. Ktfmt insists on ordering these tags as @param (in constructor order), then @property (in constructor order). At the moment, it is impossible to satisfy both ktfmt and detekt.
When formatting the KDoc of a class, the
@param
and@property
tags can be used to describe parameters.@param
should be used for parameters that are not (visibly) stored (e.g.foo
orprivate val foo
), while property should be used for parameters that become visible properties (e.g.val foo
). This is e.g. enforced by detekt's OutdatedDocumentation rule.Detekt requires these tags to be in the order of the primary constructor. Ktfmt insists on ordering these tags as
@param
(in constructor order), then@property
(in constructor order). At the moment, it is impossible to satisfy both ktfmt and detekt.Expected by detekt
Formatted by ktfmt
The text was updated successfully, but these errors were encountered: