gabrie-allaigre / sonar-gitlab-plugin

Add to each commit GitLab in a global commentary on the new anomalies added by this commit and add comment lines of modified files
GNU Lesser General Public License v3.0
713 stars 207 forks source link

Multiple inline comments not separated by newline #230

Closed cleankod closed 5 years ago

cleankod commented 5 years ago

Despite the markdown having new-line separator for each issue in an inline comment:

:warning: Remove this unused "someAnotherInnerClassInstance" private field. [:blue_book:](https://sonar/coding_rules#rule_key=squid%3AS1068)
:arrow_down_small: Remove the "someAnotherInnerClassInstance" field and declare it as a local variable in the relevant methods. [:blue_book:](https://sonar/coding_rules#rule_key=squid%3AS1450) @some.author

all issues are displayed in one line: image

You can separate them with two new-lines but I suggest a fix which would result in each issue being displayed as a list item, when there is more than one issue for a particular line of code: image