Socket
Socket
Sign inDemoInstall

mocha-eslint

Package Overview
Dependencies
2
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.1.0

4

index.js

@@ -24,4 +24,4 @@ var CLIEngine = require('eslint').CLIEngine;

throw new Error(
`${chalk.red('Code did not pass lint rules')}
${formatter(report.results)}`
chalk.red('Code did not pass lint rules') +
formatter(report.results)
);

@@ -28,0 +28,0 @@ }

{
"name": "mocha-eslint",
"version": "0.0.4",
"version": "0.1.0",
"description": "run ESLint as mocha tests",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,4 +0,9 @@

# mocha-eslint
Run [ESLint](http://eslint.org/) in [Mocha](http://mochajs.org/) tests.
# mocha-eslint
[![Travis Build Status][travis-image]][travis-url]
[![Dependency Status][dependency-image]][dependency-rul]
[![NPM version][npm-image]][npm-url]
Run [ESLint](http://eslint.org/) in your [Mocha](http://mochajs.org/) tests.
Inspired by [mocha-jshint](https://github.com/Muscula/mocha-jshint) from

@@ -62,1 +67,8 @@ [Allan Ebdrup](https://github.com/Muscula).

default ESLint rules to execute.
[npm-image]: https://img.shields.io/npm/v/mocha-eslint.svg
[npm-url]: https://www.npmjs.com/package/mocha-eslint
[dependency-image]: https://david-dm.org/BadgeLabs/mocha-eslint.svg
[dependency-rul]: https://david-dm.org/BadgeLabs/mocha-eslint
[travis-image]: https://travis-ci.org/BadgeLabs/mocha-eslint.svg?branch=master
[travis-url]: https://travis-ci.org/BadgeLabs/mocha-eslint
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc