ember-cli-mocha
Advanced tools
Comparing version 0.9.5 to 0.9.6
@@ -124,2 +124,8 @@ /*jshint node:true*/ | ||
lintTree: function(type, tree) { | ||
// Skip if useLintTree === false. | ||
if (this.options['ember-cli-mocha'] && this.options['ember-cli-mocha'].useLintTree === false) { | ||
// Fakes an empty broccoli tree | ||
return { inputTree: tree, rebuild: function() { return []; } }; | ||
} | ||
return jshintTrees(tree, { | ||
@@ -126,0 +132,0 @@ jshintrcPath: this.jshintrc[type], |
{ | ||
"name": "ember-cli-mocha", | ||
"version": "0.9.5", | ||
"version": "0.9.6", | ||
"description": "Mocha and Chai tests for ember-cli applications", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -22,2 +22,18 @@ # ember-cli-mocha | ||
## Turning of JSHint linting | ||
If you want to turn off JSHint linting you can do the following configuration in your ember-cli-build.js file: | ||
``` | ||
var app = new EmberApp({ | ||
'babel': { | ||
optional: ['es7.decorators'] | ||
}, | ||
'ember-cli-mocha': { | ||
useLintTree: false | ||
} | ||
}); | ||
``` | ||
## Copyright and License | ||
@@ -24,0 +40,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
29814
562
50
0