Socket
Socket
Sign inDemoInstall

mocha-eslint

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocha-eslint - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

3

CHANGELOG.md

@@ -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

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc