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
ktlint has graduated TrailingCommaRule from experimental to standard ruleset, while splitting it into two rules: TrailingCommaOnCallSiteRule & TrailingCommaOnDeclarationSiteRule.
There is a practical benefit for having them separate, as you'll be able to enforce one kind while ignoring the other (in a sense, making the current settings for TrailingComma "nullable", which can, for example, help to work around issues like pinterest/ktlint#1557 by opting out of TrailingCommaOnCallSiteRule while still keeping TrailingCommaOnDeclarationSiteRule.
The text was updated successfully, but these errors were encountered:
Thanks for raising! I'm closing as this is effectively a duplicate of #5281, and will be addressed by #5312 which should hopefully be included in the final 1.22.0 detekt release.
ktlint has graduated
TrailingCommaRule
from experimental to standard ruleset, while splitting it into two rules:TrailingCommaOnCallSiteRule
&TrailingCommaOnDeclarationSiteRule
.There is a practical benefit for having them separate, as you'll be able to enforce one kind while ignoring the other (in a sense, making the current settings for
TrailingComma
"nullable", which can, for example, help to work around issues like pinterest/ktlint#1557 by opting out ofTrailingCommaOnCallSiteRule
while still keepingTrailingCommaOnDeclarationSiteRule
.The text was updated successfully, but these errors were encountered: