I would like to make sure that JavaScript files (with js extension) in VS Code contain valid JavaScript syntax only.
Is it possible to disallow JSX syntax for .js files in VS Code?
Ideally of course I would like to still allow the JSX syntax for .jsx files.
renderfunction should produce an error since it is not valid JavaScript..jsfile).