Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
ember-cli-coffeescript
Advanced tools
Adds precompilation of CoffeeScript files and all the basic generation types to the `ember generate` command.
Adds precompilation of CoffeeScript files and all the basic generation
types to the ember generate
command, as well as linting.
ember generate
npm install ember-cli-coffeescript --save-dev
NB: This addon requires ember-cli version 0.1.4
and up. It might work on
earlier versions, but I wouldn't know.
Run ember help generate
to get a list of available blueprints.
Use them by running ember g <blueprint> <args>
, for instance ember g controller pants --type=array
ember-cli-coffeescript comes with pod-support for the same blueprints as ember-cli does. Check out the ember-cli docs for pods for instructions on how to use it.
This will happen automatically - no work necessary.
If you have a coffeelint.json
file we will automatically pick up on it and start running linting.
If you do not want linting to run when you have a coffeelint.json
file use the following configuration
in your Brocfile.js
.
new EmberApp({
"coffeeOptions": { lint: false }
})
You can set lint
to true
to enable linting with the default configurations, but you will probably
want to add a coffeelint.json
file to the root of your project either way, for instance to turn
off the error for backticks.
Example coffeelint.json
:
{
"no_backticks": {
"level": "ignore"
}
}
You can find all the available options on the website for coffeelint
.
If you want to specify a different path for your coffeelint.json
file you can specify the path
(relative to the project directory or absolute)
new EmberApp({
"coffeeOptions":{
lint:{
configPath: "configurations/coffeelint.json"
}
}
})
If you want to change the way we format the output you can specify a custom error output and stats output
new EmberApp({
"coffeeOptions":{
lint:{
formatter: function(filePath, lintResults){ },
statsFormatter: function(stats){ console.log('Files: ', stats.fileCount, "Errors: ", stats.errorCount) }
}
}
})
0.5.0
FAQs
Adds precompilation of CoffeeScript files and all the basic generation types to the `ember generate` command.
The npm package ember-cli-coffeescript receives a total of 258 weekly downloads. As such, ember-cli-coffeescript popularity was classified as not popular.
We found that ember-cli-coffeescript demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.