Feature-Request: Sonar Javascript Plugin does not support ES2016 Decorators

46 views
Skip to first unread message

christian....@googlemail.com

unread,
Aug 23, 2016, 2:25:03 AM8/23/16
to SonarQube
Hi all,

as the subject describes, the current Javascript-Plugin is not able to parse EcmaScript Decorators. The following code will throw an error:

// Filename: test.js

@Decorator
class X {

}

Could you please look into supporting this syntax? Thank you in advance.

nicolas...@sonarsource.com

unread,
Aug 23, 2016, 3:56:50 AM8/23/16
to SonarQube, christian....@googlemail.com
Hi Christian,

Looks like it's in the pipes already: SONARJS-747 . ;)

Nicolas
Reply all
Reply to author
Forward
0 new messages