Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error underlines when they are not supposed to be (Javascript ES6) #27866

Closed
xih opened this issue Jun 1, 2017 · 2 comments
Closed

Error underlines when they are not supposed to be (Javascript ES6) #27866

xih opened this issue Jun 1, 2017 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@xih
Copy link

xih commented Jun 1, 2017

Hi I cloned the react boilerplate repo and opened it up in VSCode. (https://github.com/react-boilerplate/react-boilerplate)

I'm getting these errors in app/routes.js

image

I have no idea why there are underlines. The code runs fine.

  • VSCode Version: 1.12.2
  • OS Version: OSX El Capitan 10.11

Steps to Reproduce:

  1. git clone [email protected]:react-boilerplate/react-boilerplate.git
  2. then open app/routes.js in VSCode
@sandy081
Copy link
Member

sandy081 commented Jun 1, 2017

@xih Can you please show the details/description of the errors?

@sandy081 sandy081 added the info-needed Issue requires more information from poster label Jun 1, 2017
@mjbvz mjbvz self-assigned this Jun 1, 2017
@mjbvz mjbvz added *duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code) and removed info-needed Issue requires more information from poster labels Jun 1, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Jun 1, 2017

We currently don't support import(...) expressions yet. This is being tracked here: microsoft/TypeScript#14495

If these errors are really getting in the way, try disabling JavaScript validation by setting: "javascript.validate.enable": false.

Closing as upstream

@mjbvz mjbvz closed this as completed Jun 1, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

3 participants