Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Add eslint no-exclusive-tests rule - Closes #893
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Nov 20, 2017
1 parent acd7b83 commit e7c68da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"plugin:react/recommended"
],
"plugins": [
"import"
"import",
"mocha"
],
"globals": {
"describe": true,
Expand All @@ -20,6 +21,7 @@
"node": true
},
"rules": {
"mocha/no-exclusive-tests": "error",
"func-names": "off",
"global-require": "off",
"new-cap": ["error", {
Expand Down Expand Up @@ -48,5 +50,10 @@
],
"linebreak-style": 0,
"no-param-reassign": "off"
},
"settings": {
"mocha/additionalTestFunctions": [
"describeModule"
]
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"eslint-loader": "1.9.0",
"eslint-plugin-html": "3.2.2",
"eslint-plugin-import": "2.7.0",
"eslint-plugin-mocha": "4.11.0",
"eslint-plugin-react": "7.4.0",
"exports-loader": "0.6.4",
"extract-text-webpack-plugin": "3.0.0",
Expand Down

0 comments on commit e7c68da

Please sign in to comment.