Hi,Sorry, I use Eclipse formatter ;) All Eclipse formatters add space after * (Java too).Regards,Adam GabryśFrom: Linda MartinSent: Wednesday, March 18, 2015 3:04 PMTo: devSubject: Re: [sonar-dev] [SONARJS] Avoid trailing whitespaces - False Positive in JS Doc commentsHello Adam,What are you exactly talking about by "Standard JavaScript formatter"? Are you thinking about a specific tool ?If yes which one ? Is there a specific reason why it is adding a trailing whitespace after all "*" ?Thanks for your feedback,Best regards,Linda.On 13 March 2015 at 17:56, Adam Gabryś <adam....@live.com> wrote:
Hi,I have a block of code with JSDoc:1. /**2. * Method description.3. *4. * @param param1 param description.5. * @param param2 param description.6. */7. this.getSomething = function(param1, param2) {8. // body9. };I have got an issue at the 3 line: Remove the useless trailing whitespaces at the end of this line. Standard JavaScript formatter add one space after all * (the same effects as in the JavaDoc). I think in this case it shouldn’t be markd as an issue.Regards,Adam Gabryś
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/CAEt9bDDh_j71my0dtevx9QU4KdL5nMPzHGkxPb20%2BR_XXQtnvg%40mail.gmail.com.
Yes, I am familiar with that option. That option, however, still includes whitespaces in jsdoc and still causes Sonar to produce a trailing white spaces violation.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/807c00de-4aa0-4bc9-b4c9-28bd1e36ffa9%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/ffe280b9-009f-41cd-a190-5edc755841b7%40googlegroups.com.