It’s quite easy, at the root of your project create a jsconfig.json file and write this object in it:
{
"compilerOptions": {
"target": "ES6",
"module": "commonjs"
}
}
More Related Contents:
- Enable or disable VS Code Integrated Terminal Tabs?
- How do I hide certain files from the sidebar in Visual Studio Code?
- How to make VS Code treat a file extensions as a certain language?
- Open files always in a new tab
- Vertical rulers in Visual Studio Code
- Install a Nuget package in Visual Studio Code
- How can I navigate back to the last cursor position in Visual Studio Code?
- LaTeX fraction snippets in VSCode
- Switch focus between editor and integrated terminal
- How to add multiple terminals in VS Code?
- Create Custom Language in Visual Studio Code
- How to trigger documentation popup in vscode
- How do you determine which formatter is being used for VS Code?
- How do I see a bin file in a hex editor in Visual Studio Code?
- Why do I keep getting “[eslint] Delete `CR` [prettier/prettier]”?
- How to correctly set PYTHONPATH for Visual Studio Code
- How can I open Visual Studio Code’s ‘settings.json’ file?
- How can you disable Gutter Indicators in VS Code?
- Visual Studio Code. why are the window control buttons over the menu bar on the left side?
- How to add a @tailwind CSS rule to CSS checker
- How to add semicolon to the end of the line in visual studio code
- How do I set the default browser as chrome in Visual Studio Code?
- How can I commit some changes to a file, but not others, in VSCode?
- How do I turn on text wrapping by default in VS Code
- What is the migration procedure for moving from Windows system-wide Visual Studio Code to user setup?
- How to run a command in Visual Studio Code with launch.json
- Why does VS Code give a chip-like / distorted display when I hover over it with my mouse?
- VSCode hide top-right icons
- How to disable codelens in VS code?
- Completely uninstall VS Code extensions