VScode jsconfig.json files First Line error for no reasons

Error reporting:

analysis

Vscode will automatically check the semantics of JavaScript files. Because of the custom jsconfig The JSON file cannot overwrite the configuration of vscode, so an error will be reported.

Solution:

Open the configuration settings.json file and let the custom jsconfig.js file override the vscode default options.

Read More: