Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
ember-cli-6to5
Advanced tools
This Ember-CLI plugin uses [6to5](https://6to5.org/index.html) to allow you to use ES6 syntax with your Ember-CLI project.
This Ember-CLI plugin uses 6to5 to allow you to use ES6 syntax with your Ember-CLI project.
npm install --save-dev ember-cli-6to5
This plugin should work without any configuration after installing. By default it will take every .js
file
in your project and run it through the 6to5 transpiler to convert the ES6 code to ES5. Running existing ES5 code
through the transpiler shouldn't change the code at all (likely just a format change if it does).
If you need to customize the way that 6to5 transfoms your code, you can do it by passing in any of the options found here. Example:
// Brocfile.js
var app = new EmberApp({
'6to5': {
// disable comments
comments: false
}
});
Ember-CLI uses its own ES6 module transpiler for the custom Ember resolver that it uses. Because of that,
this plugin disables 6to5 module compilation by blacklisting that transform. If you find that you want to use
the 6to5 module transform instead of the Ember-CLI one, you'll have to explicitly set compileModules
to true
in your configuration. If compileModules
is anything other than true
, this plugin will leave the module
syntax compilation up to Ember-CLI.
FAQs
This Ember-CLI plugin uses [6to5](https://6to5.org/index.html) to allow you to use ES6 syntax with your Ember-CLI project.
The npm package ember-cli-6to5 receives a total of 12 weekly downloads. As such, ember-cli-6to5 popularity was classified as not popular.
We found that ember-cli-6to5 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.