Skip to content
Permalink
Browse files

tools: enforce two arguments in assert.throws

Enables the requireTwo option of our custom rule.

PR-URL: #12270
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information...
targos committed Apr 7, 2017
1 parent 9de2e15 commit a4b9c585b33bfc0921a405fc54a8cb9783046b6d
Showing with 1 addition and 1 deletion.
  1. +1 −1 .eslintrc.yaml
@@ -142,7 +142,7 @@ rules:

# Custom rules in tools/eslint-rules
align-multiline-assignment: 2
assert-throws-arguments: [2, { requireTwo: false }]
assert-throws-arguments: [2, { requireTwo: true }]
no-unescaped-regexp-dot: 2

# Global scoped method and vars

0 comments on commit a4b9c58

Please sign in to comment.
You can’t perform that action at this time.