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

ES6 support #42

Closed
othiym23 opened this issue Feb 26, 2015 · 3 comments

Comments

@othiym23
Copy link

commented Feb 26, 2015

I like standard; having gone through the exercise of converting what has to be one of the largest, most complicated code bases to support it so far, I find myself happy (or at least satisfied) with every choice it makes except the fact that it prescribes both the browser and node modes in eslint (for reasons I can get into in another issue, if desired).

But! I'm doing a lot more work with ES6 in my code now, and it would be nice to just go ahead and enable ES6 features as they roll into eslint (and jscs). It's probably going to be a little while before eslint supports everything (they just landed support for destructuring), but right now I have to keep switching between standard and eslint in my Syntastic configuration, and that feels suboptimal.

@yoshuawuyts

This comment has been minimized.

Copy link
Contributor

commented Feb 26, 2015

@othiym23 The latest version of standard should have es6 support enabled. What version are you running?

feross added a commit that referenced this issue Feb 26, 2015

feross added a commit that referenced this issue Feb 26, 2015

feross added a commit that referenced this issue Feb 26, 2015

@feross

This comment has been minimized.

Copy link
Member

commented Feb 26, 2015

@othiym23 I'm curious to hear your argument against the browser and node eslint options – please open a new issue and let's discuss.

As far as ES6 support, I'm with you! I'm enabling the necessary options as they land in eslint. Looks like eslint@0.15.0 was just released, so I just updated our .eslintrc to support destructuring assignment, rest parameters, and the spread operator, as well as all the other ES6 features that were already supported. This is released as standard@2.8.0.

eslint is still on semver 0.x and does make breaking changes in minor releases, and requires new .eslintrc rules to enable new ES6 features, so we'll just have to continue staying up-to-date with their releases. :) Not a problem!

@othiym23

This comment has been minimized.

Copy link
Author

commented Feb 26, 2015

Cool! Great! Closing as WORKSFORME

@othiym23 othiym23 closed this Feb 26, 2015

@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants
You can’t perform that action at this time.