Skip to content

Commit

Permalink
Add mocha/no-exclusive-tests rule (#7)
Browse files Browse the repository at this point in the history
* add mocha/no-exclusive-tests rule
  • Loading branch information
IanHalbwachs authored Jun 29, 2017
1 parent 7460d4d commit 3ae8f93
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* 2.2.0 June 28, 2017
- Add mocha/no-exclusive-tests rule

* 2.1.0 March 7, 2017
- Updated no-unused-args to allow rest siblings and removed excepting `_`-prefixed variables.

Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ module.exports = {
// Mocha functions should use function expressions, not arrow functions
"mocha/no-mocha-arrows": "error",

// Disallow exclusive tests
"mocha/no-exclusive-tests": "error",

// Either function expressions or arrow callbacks can be used
"prefer-arrow-callback": "off"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-button",
"version": "2.1.0",
"version": "2.2.0",
"description": "Button's eslint config",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 3ae8f93

Please sign in to comment.