coffeelint
Advanced tools
Comparing version 2.0.7 to 2.1.0
@@ -77,5 +77,8 @@ (function() { | ||
findCoffeeScripts = function(paths, extension) { | ||
var allExtention, files, i, len, p; | ||
var allExtention, files, i, len, opts, p; | ||
files = []; | ||
allExtention = getAllExtention(extension); | ||
opts = { | ||
ignore: 'node_modules/**' | ||
}; | ||
for (i = 0, len = paths.length; i < len; i++) { | ||
@@ -85,3 +88,3 @@ p = paths[i]; | ||
// The glob library only uses forward slashes. | ||
files = files.concat(glob.sync(`${p}/**/*.${allExtention}`)); | ||
files = files.concat(glob.sync(`${p}/**/*.${allExtention}`, opts)); | ||
} else { | ||
@@ -88,0 +91,0 @@ files.push(p); |
@@ -54,4 +54,4 @@ (function() { | ||
})(); | ||
}).call(this); | ||
}).call(this); |
@@ -58,4 +58,4 @@ (function() { | ||
} else { | ||
// Or it can export an array of rules to load. | ||
results = []; | ||
// Or it can export an array of rules to load. | ||
for (i = 0, len = ruleModule.length; i < len; i++) { | ||
@@ -62,0 +62,0 @@ rule = ruleModule[i]; |
{ | ||
"name": "coffeelint", | ||
"description": "Lint your CoffeeScript", | ||
"version": "2.0.7", | ||
"version": "2.1.0", | ||
"homepage": "http://www.coffeelint.org", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"dependencies": { | ||
"coffeescript": "~2.0.x", | ||
"coffeescript": "^2.1.0", | ||
"glob": "^7.0.6", | ||
@@ -28,0 +28,0 @@ "ignore": "^3.0.9", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
157212
3694
+ Addedcoffeescript@2.7.0(transitive)
- Removedcoffeescript@2.0.3(transitive)
Updatedcoffeescript@^2.1.0