mocha-eslint
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -5,2 +5,5 @@ # mocha-eslint Changelog | ||
### v0.1.3 | ||
* [BUGFIX] Fix glob dependency | ||
### v0.1.2 | ||
@@ -7,0 +10,0 @@ * [ENHANCEMENT] Add ability to pass glob patterns as arguments |
{ | ||
"name": "mocha-eslint", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "run ESLint as mocha tests", | ||
@@ -18,7 +18,7 @@ "main": "index.js", | ||
"chalk": "^1.0", | ||
"eslint": "^0.17.0" | ||
"eslint": "^0.17.0", | ||
"glob": "5.0.3" | ||
}, | ||
"devDependencies": { | ||
"mocha": "^2.0", | ||
"glob": "5.0.3" | ||
"mocha": "^2.0" | ||
}, | ||
@@ -25,0 +25,0 @@ "repository": { |
@@ -1,2 +0,2 @@ | ||
# mocha-eslint | ||
# mocha-eslint | ||
[![Travis Build Status][travis-image]][travis-url] | ||
@@ -34,2 +34,3 @@ [![Dependency Status][dependency-image]][dependency-rul] | ||
where `paths` is an array of paths from your project's top level directory | ||
(as of v0.1.2, you can also include [glob patterns](https://github.com/isaacs/node-glob#glob-primer)) | ||
and `options` has a single property `"formatter"` which can be assigned to the | ||
@@ -48,7 +49,8 @@ name of any of the | ||
// Array of paths to lint | ||
// Note: a seperate Mocha test will be run for each path | ||
// Note: a seperate Mocha test will be run for each path and each file which | ||
// matches a glob pattern | ||
var paths = [ | ||
'bin', | ||
'lib', | ||
'tests', | ||
'tests/**/*Test.js', | ||
]; | ||
@@ -60,3 +62,3 @@ | ||
// Get the party started | ||
// Run the tests | ||
lint(paths, options); | ||
@@ -63,0 +65,0 @@ ``` |
Sorry, the diff of this file is not supported yet
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
1
76
25973
3
+ Addedglob@5.0.3
+ Addedglob@5.0.3(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedwrappy@1.0.2(transitive)