diff options
author | Michaël Zasso <targos@protonmail.com> | 2017-04-07 17:18:02 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2017-04-13 12:31:54 +0300 |
commit | a4b9c585b33bfc0921a405fc54a8cb9783046b6d (patch) | |
tree | 0ad365d1bfbb91432f5f071040a80b10ac34256d /.eslintrc.yaml | |
parent | 9de2e159c4e83bea80c1d96abdabc6a69207344c (diff) |
tools: enforce two arguments in assert.throws
Enables the requireTwo option of our custom rule.
PR-URL: https://github.com/nodejs/node/pull/12270
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r-- | .eslintrc.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml index 630fd19688c..7468a234382 100644 --- a/.eslintrc.yaml +++ b/.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 |