diktat
diktat copied to clipboard
Set up a rule `TrailingComma` for our code
Already done: https://github.com/analysis-dev/diktat/blob/cbeaa96975dd3d9d7971fe81678ed4c060038708/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter3/TrailingCommaRule.kt
This issue was about our own check: https://github.com/analysis-dev/diktat/blob/d8c4cea250a651244fb6bad0ecf9bad505ece89b/diktat-analysis.yml#L242-L260 We need to enable all these options, run diktat fixer and update the code. @Arrgentum please take a look
We also have this You have enabled TRAILING_COMMA, but rule will remain inactive until you explicitly set configuration options. See [available-rules.md] for possible configuration options. now, but we probably should enable at least some of the options by default