Skip to content

Commit

Permalink
Merged from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
alecxe committed Jul 4, 2016
2 parents 0279dc8 + 86e734e commit b39dfb8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
language: node_js
sudo: false
node_js:
- "0.10"
- "0.12"
- "iojs"
- "4"
- "5"
- "6"
notifications:
email: false
after_success:
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Rules

* [no-exclusive-tests](no-exclusive-tests.md) - disallow exclusive mocha tests (fixable)
* [no-exclusive-tests](no-exclusive-tests.md) - disallow exclusive mocha tests
* [no-skipped-tests](no-skipped-tests.md) - disallow skipped mocha tests (fixable)
* [no-pending-tests](no-pending-tests.md) - disallow pending/unimplemented mocha tests
* [handle-done-callback](handle-done-callback.md) - enforces handling of callbacks for async tests
Expand Down
7 changes: 7 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,12 @@ module.exports = {
'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
}
}
}
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"pr-log": "^1.3.0",
"istanbul": "^0.4.2",
"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"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit b39dfb8

Please sign in to comment.