Hello! First I am glad to use these awesome products.
btw I encountered an error like below
"ERROR: Failed to parse file [xxx.vue] at line xx: ‘import’ and ‘export’ may appear only with ‘sourceType: module’"
It only occurs .vue files that contains the features such as [
optional chaining (?.),
dynamic imports (import(’./blah’))
] and etc…
I think these error is caused by vue parser SonarJS use.
a related pull request link: https://github.com/SonarSource/SonarJS/pull/2021
How can I handle this issue?
And thank you for reading this topic!
my project environment
SonarScanner version 4.4.0.2170
OS: Mac OS X 10.14.6 x86_64