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

Code validation confused by rest/spread operators #1354

Closed
KooiInc opened this issue Aug 11, 2018 · 6 comments
Closed

Code validation confused by rest/spread operators #1354

KooiInc opened this issue Aug 11, 2018 · 6 comments
Assignees

Comments

@KooiInc
Copy link

KooiInc commented Aug 11, 2018

Code validation doesn't seem to like rest/spread operators. See image and fiddle

image

@KooiInc KooiInc changed the title Code inspection for rest operators Code inspection confused by rest operators Aug 11, 2018
@KooiInc KooiInc changed the title Code inspection confused by rest operators Code validation confused by rest/spread operators Aug 11, 2018
@oskarkrawczyk oskarkrawczyk self-assigned this Sep 20, 2018
@oskarkrawczyk
Copy link
Member

I've updated to the latest https://github.com/jshint/jshint version, hopefully it patches up these issues.

@KooiInc
Copy link
Author

KooiInc commented Sep 21, 2018

Works, thanx @oskarkrawczyk

@DRSAgile
Copy link

DRSAgile commented Jan 29, 2019

I've updated to the latest https://github.com/jshint/jshint version, hopefully it patches up these issues.

Sadly, it was not enough; I am still getting this error:
https://jsfiddle.net/fv94x5wd/2/

Apparently, my test example has more callback nesting, so JSHint can not take it. Should we file a bug on JSHint's page or this one is enough to fix it if the issue is only with an older JSHint version that is used by JSFiddle?

@oskarkrawczyk
Copy link
Member

@DRSAgile Yep, file the issue on their end. We're using version 2.9.6

@DRSAgile
Copy link

Thanks.

BTW, does JSFiddle allow switching to JSLint or something else?

@oskarkrawczyk
Copy link
Member

Nope

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

No branches or pull requests

3 participants