-
Notifications
You must be signed in to change notification settings - Fork 516
Closed
Description
Expected Behavior
ktlint offers a rule that enforces a particular code style regarding trailing commas, which are now permitted by the Kotlin compiler as of 1.3.70, see https://youtrack.jetbrains.com/issue/KT-34743 for more details.
This may not be a good fit for ktlint as it's too opinionated and no conventions exist yet, but if it's suitable it's a better fit here than in detekt where it was originally proposed.
Observed Behavior
No such rule exists.
Steps to Reproduce
N/A, new rule required.
Your Environment
- Version of ktlint used:
- Name and version (or code for custom task) of integration used (Gradle plugin, Maven plugin, command line, custom Gradle task):
- Version of Gradle used (if applicable):
- Operating System and version:
- Link to your project (if it's a public repository):
cortinico, BraisGabin, AndrewHaisting, byencho, alexvanyo and 106 moreykws