I'm having errors while the Sensor JavaScriptSquidSensor parses some ES6 files. The stack is:
18:28:51.972 INFO - 738 source files to be analyzed
18:28:59.407 ERROR - Unable to parse file: C:/Users/dario.olivini/Sviluppo/[...]/EmittableEvents/AbstractEmittableEvent.js
18:28:59.407 ERROR - Parse error at line 28 column 16:
18: class AbstractEmittableEvent {
19:
[...]
27: constructor(eventName) {
28: if (new.target === AbstractEmittableEvent) {
^
29: throw new AbstractConstructorError("AbstractEmittableEvent");
30: }
31: checkFunctionParam("string", eventName, {message: "eventName is required and must be a string."});
32:
However, the analysis has been completed successfully then it is just a warning, it is not an urgent problem, just a warning.
Thank you and good evening