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

Add support for ES2016 Object Spread Initializer #6525

Closed
jrieken opened this issue Jan 18, 2016 · 2 comments
Closed

Add support for ES2016 Object Spread Initializer #6525

jrieken opened this issue Jan 18, 2016 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@jrieken
Copy link
Member

jrieken commented Jan 18, 2016

From @onybo on January 13, 2016 8:57

Object Spread Initializers is a proposed feature of ES2016 and is very useful when writing Redux reducers. The syntax is supported in babel, but when using the feature in Visual Studio Code it will mark the spread operator as a syntax error.

See: https://github.com/sebmarkbage/ecmascript-rest-spread/blob/master/Spread.md
for more information of the feature.

It would be very nice if Visual Studio Code did not mark the use of this feature as an error with a red squiggly.

The current behavior in Visual Studio Code is also described in Issue #1640

Copied from original issue: microsoft/vscode#1974

@jrieken jrieken self-assigned this Jan 18, 2016
@jrieken
Copy link
Member Author

jrieken commented Jan 18, 2016

From @jpierson on January 17, 2016 3:1

+1 I've been pretty much ignoring my errors and warnings in VSCode in hopes that this would be addressed soon but it's been a few months now. I've also noticed some discussion in the ESLint project about this and their suggestion was to make use of babel-eslint. I wonder if that is possible to use in VSCode...

@DanielRosenwasser
Copy link
Member

Duplicate of #2103.

@DanielRosenwasser DanielRosenwasser added the Duplicate An existing issue was already created label Jan 18, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants