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

Enable ES6/ES2015 goodness #3149

Merged
merged 1 commit into from
Jan 30, 2017
Merged

Enable ES6/ES2015 goodness #3149

merged 1 commit into from
Jan 30, 2017

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Jan 27, 2017

Description

  • Remove ES5 parser exception from .eslintrc
  • Configure Karma to use Babel to transpile ES6 sources to ES5,
    because PhantomJS does not support ES6
  • Upgrade es5-shim to es6-shim

Related issues

cc @pthieu

 - Remove ES5 parser exception from .eslintrc
 - Configure Karma to use Babel to transpile ES6 sources to ES5,
   because PhantomJS does not support ES6
 - Upgrade es5-shim to es6-shim
@bajtos bajtos self-assigned this Jan 27, 2017
@bajtos bajtos requested review from ritch and superkhau January 27, 2017 10:32
@bajtos bajtos added the review label Jan 27, 2017
@pierreclr
Copy link
Contributor

@bajtos That means I can use ES6 code style in the test part ? What about in core ?

@bajtos
Copy link
Member Author

bajtos commented Jan 27, 2017

That means I can use ES6 code style in the test part ? What about in core ?

We will be able to use ES6 code style everywhere, as we are already doing in other LoopBack packages. See also http://loopback.io/doc/en/contrib/style-guide.html

@bajtos bajtos merged commit 5607460 into master Jan 30, 2017
@bajtos bajtos deleted the fix/es6-in-phantomjs branch January 30, 2017 08:36
@bajtos bajtos removed the review label Jan 30, 2017
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

Successfully merging this pull request may close these issues.

3 participants