Not able to parse file have ?. in the code

Below is the example where I have test file name abc.test.js and I have wriiten below code and sonarQube is showing error while parsing…

image

hello @sachin-agarwal-by ,

which version of SonarQube are you using?

@saberduck I am using * Version 7.9.5 (build 38598) for SonarQube.

Optional chaining syntax is not supported in that version You would need to upgrade to SonarQube 8.7 to properly support this syntax.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.