Skip to content

Commit

Permalink
added rule to prevent try-catch usage in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fearphage committed May 26, 2017
1 parent 528a7dc commit 9e23c4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/.eslintrc
Expand Up @@ -7,6 +7,7 @@
],
"rules": {
"mocha/no-exclusive-tests": 2,
"max-nested-callbacks": 0
"max-nested-callbacks": 0,
"no-restricted-syntax": [2, "TryStatement"]
}
}

0 comments on commit 9e23c4a

Please sign in to comment.