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

Expected end of node list but "Punctuator" found at #165

Open
hodonsky opened this issue Nov 7, 2017 · 2 comments
Open

Expected end of node list but "Punctuator" found at #165

hodonsky opened this issue Nov 7, 2017 · 2 comments

Comments

@hodonsky
Copy link

hodonsky commented Nov 7, 2017

     1 |"use strict"
--------^
     2 |
     3 |import jsonOverTCP from "json-over-tcp"

I'm receiving the above error. However... there's nothing wrong here. And in a bunch ( the rest of my repository ) of other files, they have the same thing and throw no error. At first I thought "maybe it was a copy paste issue to a new file" So I deleted the lines and wrote them in. I'm sure the characters are correct but I have exactly no idea why only 2 files give me this error out of approximately 15. Okay so I thought "maybe it's that async error bubbling up to the top of the file" Nope... that was fixed in 3.0.7.... I don't have the time to move to ESLint right now and was hoping you could provide a work around until I get time to do just that?

Cheers!

@hodonsky
Copy link
Author

hodonsky commented Nov 7, 2017

@mdevils any thoughts would be greatly appreciated.

@hodonsky
Copy link
Author

hodonsky commented Nov 7, 2017

AH hah... I figured it out... so I'm using babel-plugin-tcomb and some of my code looks like this in these files:

export default ( app: Object, config: Object, options: Object ): Object => {/*...*/}

So now that I've found the issue, I'm not quite sure how to approach JSCS on those files, maybe I can ignore that error, or turn it off in my config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant