Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-mocha

Package Overview
Dependencies
Maintainers
3
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-mocha - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

lib/rules/prefer-arrow-callback.js

20

CHANGELOG.md

@@ -0,1 +1,21 @@

## 5.1.0 (July 6, 2018)
### Bug Fixes
* Issue #166: No setup in describe hooks ([#167](https://github.com/lo1tuma/eslint-plugin-mocha/pull/167))
### Features
* Adds mocha-aware prefer-arrow-callback rule ([#163](https://github.com/lo1tuma/eslint-plugin-mocha/pull/163))
### Dependency Upgrades
* Update eslint-config-holidaycheck to version 0.13.1 ([#170](https://github.com/lo1tuma/eslint-plugin-mocha/pull/170))
* Update eslint to version 5.0.1 ([#169](https://github.com/lo1tuma/eslint-plugin-mocha/pull/169))
* Update nyc to version 12.0.2 ([#168](https://github.com/lo1tuma/eslint-plugin-mocha/pull/168))
### Build-Related
* Add node 10 build environment ([#171](https://github.com/lo1tuma/eslint-plugin-mocha/pull/171))
## 5.0.0 (March 24, 2018)

@@ -2,0 +22,0 @@

3

index.js

@@ -22,3 +22,4 @@ 'use strict';

'no-nested-tests': require('./lib/rules/no-nested-tests'),
'no-setup-in-describe': require('./lib/rules/no-setup-in-describe')
'no-setup-in-describe': require('./lib/rules/no-setup-in-describe'),
'prefer-arrow-callback': require('./lib/rules/prefer-arrow-callback')
},

@@ -25,0 +26,0 @@ configs: {

@@ -16,3 +16,3 @@ 'use strict';

function isPureNode(node) {
return astUtils.isHookIdentifier(node) || astUtils.isTestCase(node);
return astUtils.isHookCall(node) || astUtils.isTestCase(node);
}

@@ -19,0 +19,0 @@

{
"name": "eslint-plugin-mocha",
"version": "5.0.0",
"version": "5.1.0",
"description": "Eslint rules for mocha.",

@@ -29,7 +29,7 @@ "engines": {

"coveralls": "^3.0.0",
"eslint": "^4.0.0",
"eslint-config-holidaycheck": "^0.12.1",
"eslint": "^5.0.1",
"eslint-config-holidaycheck": "^0.13.1",
"eslint-plugin-node": "^6.0.1",
"mocha": "^5.0.1",
"nyc": "^11.4.1",
"nyc": "^12.0.2",
"pr-log": "^3.0.0"

@@ -36,0 +36,0 @@ },

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