Open andrearx opened 5 years ago
The stack traces point to files and have line numbers:
SyntaxError: index.js: 'return' outside of function (5:3)
-> Thus D:\MyProject\index.js
line 5 has the syntax error reported
SyntaxError: myfolder/myfile.js: 'import' and 'export' may appear only with 'sourceType: module' (1:0)
-> Thus D:\MyProject\webapp\myfolder\myfile.js
line 1 has the syntax error reported.
These errors come from failed parsing of the files. I'll look at updating the code so the thrown error has more context.
Hi, I'm using it on windows, installed globally.
The proj works perfectly. 1st run is an electron proj 2nd a react proj
I don't understaand if i can set this plugin ignoring those errors and how. Thanks