Socket
Socket
Sign inDemoInstall

eslint-plugin-mocha

Package Overview
Dependencies
Maintainers
2
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 3.0.0 to 4.0.0

lib/rules/valid-suite-description.js

25

CHANGELOG.md

@@ -0,1 +1,26 @@

## 4.0.0 (July 4, 2016)
### Features
* feat(rules): add 'valid-suite-description' rule (#74)
* feat(rules): add 'valid-test-description' rule (#68)
### Enhancements
* Add recommended config (#72)
### Dependency Upgrades
* Update eslint to version 3.0.0 🚀 (#70)
### Breaking Changes
* Drop support old node versions (#71)
### Documentation
* Remove fixable from no-exclusive on README (#73)
* [README] Use a more explicit config (#65)
* update to docs to match removed autofix (#64)
## 3.0.0 (June 2, 2016)

@@ -2,0 +27,0 @@

11

index.js

@@ -10,4 +10,13 @@ 'use strict';

'no-synchronous-tests': require('./lib/rules/no-synchronous-tests'),
'no-global-tests': require('./lib/rules/no-global-tests')
'no-global-tests': require('./lib/rules/no-global-tests'),
'valid-test-description': require('./lib/rules/valid-test-description'),
'valid-suite-description': require('./lib/rules/valid-suite-description')
},
configs: {
recommended: {
rules: {
'mocha/no-exclusive-tests': 2
}
}
}
};

6

package.json
{
"name": "eslint-plugin-mocha",
"version": "3.0.0",
"version": "4.0.0",
"description": "Eslint rules for mocha.",

@@ -22,7 +22,7 @@ "main": "index.js",

"mocha": "^2.4.5",
"eslint": "^2.0.0",
"eslint": "^3.0.0",
"coveralls": "^2.11.6"
},
"peerDependencies": {
"eslint": "^2.0.0"
"eslint": "^2.0.0 || ^3.0.0"
},

@@ -29,0 +29,0 @@ "repository": {

@@ -25,3 +25,3 @@ [![NPM Version](https://img.shields.io/npm/v/eslint-plugin-mocha.svg?style=flat)](https://www.npmjs.org/package/eslint-plugin-mocha)

"rules": {
"mocha/no-exclusive-tests": 2
"mocha/no-exclusive-tests": "error"
}

@@ -28,0 +28,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